infrastructure/ansible/roles/http_proxy/tasks/main.yml

19 lines
294 B
YAML
Raw Normal View History

- 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