Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gregory Colpart c1e727d161 Add deb.nodesource.com in default Squid whitelist 10 months ago
..
defaults squid: minifirewall main file is configurable 1 year ago
files Add deb.nodesource.com in default Squid whitelist 10 months ago
handlers Squid: restart minifirewall if needed 2 years ago
meta change repositories URL 1 year ago
tasks squid: better replacement in minifirewall config 1 year ago
templates Squid: replace logrotate file if default 2 years ago
tests Add tests for many roles 2 years ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 2 years ago
README.md review squid role whith https://wiki.evolix.org/HowtoSquid 2 years ago

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.