ansible-roles/squid
Ludovic Poujol 09674fa489 Squid: Add repo.mysql.com to default whitelist 2018-03-02 15:18:49 +01:00
..
defaults review squid role whith https://wiki.evolix.org/HowtoSquid 2017-08-23 01:17:45 +02:00
files Squid: Add repo.mysql.com to default whitelist 2018-03-02 15:18:49 +01:00
handlers Squid: restart minifirewall if needed 2017-09-20 10:30:24 +02:00
meta Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
tasks squid: fix template path 2017-12-29 15:14:24 +01:00
templates Squid: replace logrotate file if default 2017-12-28 11:16:06 +01:00
tests Add tests for many roles 2017-05-18 15:44:21 +02:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md review squid role whith https://wiki.evolix.org/HowtoSquid 2017-08-23 01:17:45 +02:00

README.md

squid

Installation and configuration of Squid

Tasks

Everything is in the tasks/main.yml file.

A blank file is created at /etc/squid3/whitelist-custom.conf to add addresses in the whitelist.

Available variables

  • squid_address : IP address for internal/outgoing traffic (default: Ansible detected IPv4 address) ;
  • squid_whitelist_items : list of URL to add to the whitelist (default: []) ;
  • squid_localproxy_enable : enable configuration for squid as local proxy (default: False) ;
  • general_alert_email: email address to send various alert messages (default: root@localhost) ;
  • log2mail_alert_email: email address to send Log2mail messages to (default: general_alert_email).

The full list of variables (with default values) can be found in defaults/main.yml.