r/squid: Support custom ACLs and rules

The default set of access control lists and access rules for Squid are
fine for allowing hosts on the local network access to the web in
general.  For other uses, such as web filtering, etc. more complex rules
may be needed.  To that end, the *squid* role now supports some
additional variables.  Notably, `squid_acl` contains a map of ACL names
to list entries and `squid_http_access` contains a list of access rules.
If these are set, their corresponding defaults are not included in the
rendered configuration file.
This commit is contained in:
2024-01-27 08:55:30 -06:00
parent 7b54bc4400
commit af18a575d1
2 changed files with 17 additions and 1 deletions

View File

@@ -5,3 +5,4 @@ squid_cache_dir: /var/cache/squid
squid_cache_dir_max_size: 51200
squid_cache_dir_l1: 16
squid_cache_dir_l2: 256
squid_access_log: syslog:daemon.info