blob: 996218a2cedaa226eb87a822e0c098554753c42f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- hosts: all
user: root
tasks:
- yum: name=squid
when: ansible_distribution == "CentOS"
- apt: name=squid
when: ansible_distribution == "Ubuntu"
- name: Transfer squid.conf
copy: src=squid.conf dest=/etc/squid/squid.conf mode=0640
- name: Bounce Squid
systemd:
name: squid
state: reloaded
|