From 6bada3aa70159d168f353a93043909dc92afd88d Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 30 Jun 2017 12:05:25 +0200 Subject: [PATCH] squid: just reload when possible --- squid/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squid/tasks/main.yml b/squid/tasks/main.yml index 72c2c30a..adc8ea8f 100644 --- a/squid/tasks/main.yml +++ b/squid/tasks/main.yml @@ -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: