Create own role for the usersquid http_proxy functionality

This commit is contained in:
Raphael Dannecker 2025-03-31 18:13:50 +02:00
parent 68215897a6
commit ce40cb885f
10 changed files with 584 additions and 535 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/bash
#
if nslookup firewall.{{ domain }}; then
/usr/sbin/squid --foreground -f /etc/squid/squid-usermode.conf
else
/usr/sbin/squid --foreground -f /etc/squid/squid-usermode-external.conf
fi