Skip to content

tduemesnil/ansible-squid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

squid

Build Status

Installs Squid

Requirements

This role requires Ansible 1.9 or higher.

Role Variables

Name Default Description
squid_acls [] List of ACL hashes (keys: name, type, argument)
squid_always_directs [] List of always_direct options (keys: type, acl_name)
squid_cache_peers [] List of cache peers (keys: hostname, type, http_port, icp_port, options)
squid_dns_v4_first "off" This option reverses the order of preference to make Squid contact dual-stack websites over IPv4 first
squid_forwarded_for "on" Set X-Forwarded-For header in HTTP requests
squid_http_access_allow_clients ["localhost"] List of clients to allow access
squid_http_port 3128 The port where Squid will listen for HTTP requests
squid_never_directs [] List of never_direct options (keys: type, acl_name)
squid_proxy_only false If enabled, disables caching
squid_tcp_outgoing_address '' Map requests to different outgoing IP address

Dependencies

None

Example Playbook

Install Squid

- hosts: all
  roles:
    - kbrebanov.squid

License

BSD

Author Information

Kevin Brebanov