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"
|
||||
force: yes
|
||||
backup: yes
|
||||
notify: "restart {{ squid_daemon }}"
|
||||
notify: "reload {{ squid_daemon }}"
|
||||
|
||||
- name: custom whitelist is present
|
||||
copy:
|
||||
src: whitelist-custom.conf
|
||||
dest: "{{ squid_conf_path }}/whitelist-custom.conf"
|
||||
force: no
|
||||
notify: "restart {{ squid_daemon }}"
|
||||
notify: "reload {{ squid_daemon }}"
|
||||
|
||||
- name: add some URL in whitelist
|
||||
lineinfile:
|
||||
|
|
Loading…
Reference in New Issue