Installs Squid
This role requires Ansible 1.9 or higher.
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 |
None
Install Squid
- hosts: all
roles:
- kbrebanov.squid
BSD
Kevin Brebanov