forked from evolix/ansible-roles
squid: just reload when possible
This commit is contained in:
parent
8105cfe6b6
commit
6bada3aa70
|
@ -20,14 +20,14 @@
|
||||||
dest: "{{ squid_conf_path }}/whitelist-evolinux.conf"
|
dest: "{{ squid_conf_path }}/whitelist-evolinux.conf"
|
||||||
force: yes
|
force: yes
|
||||||
backup: yes
|
backup: yes
|
||||||
notify: "restart {{ squid_daemon }}"
|
notify: "reload {{ squid_daemon }}"
|
||||||
|
|
||||||
- name: custom whitelist is present
|
- name: custom whitelist is present
|
||||||
copy:
|
copy:
|
||||||
src: whitelist-custom.conf
|
src: whitelist-custom.conf
|
||||||
dest: "{{ squid_conf_path }}/whitelist-custom.conf"
|
dest: "{{ squid_conf_path }}/whitelist-custom.conf"
|
||||||
force: no
|
force: no
|
||||||
notify: "restart {{ squid_daemon }}"
|
notify: "reload {{ squid_daemon }}"
|
||||||
|
|
||||||
- name: add some URL in whitelist
|
- name: add some URL in whitelist
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
Loading…
Reference in a new issue