Jake Howard
041f791b60
Implementation isn't perfect, but as `qbittorrent` already had an outbound VPN connection, it makes sense to just reuse it.
18 lines
294 B
YAML
18 lines
294 B
YAML
- name: Install squid
|
|
package:
|
|
name: squid
|
|
become: true
|
|
|
|
- name: Squid config
|
|
template:
|
|
src: files/squid.conf
|
|
dest: /etc/squid/squid.conf
|
|
mode: "0600"
|
|
become: true
|
|
notify: restart squid
|
|
|
|
- name: Enable squid
|
|
service:
|
|
name: squid
|
|
enabled: true
|
|
become: true
|