squid: just reload when possible

This commit is contained in:
Jérémy Lecour 2017-06-30 12:05:25 +02:00 committed by Jérémy Lecour
parent 8105cfe6b6
commit 6bada3aa70
1 changed files with 2 additions and 2 deletions

View File

@ -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: