Varnish : reload or restart if needed

This commit is contained in:
Jérémy Lecour 2017-11-30 23:51:18 +01:00 committed by Jérémy Lecour
parent a1898f7705
commit 419416b531
1 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,7 @@
- /etc/default/varnish
- /etc/default/varnishncsa
- /etc/default/varnishlog
notify: reload varnish
tags:
- varnish
@ -24,6 +25,7 @@
mode: "0700"
owner: root
group: root
notify: reload varnish
tags:
- varnish
@ -39,7 +41,9 @@
src: varnish.conf.j2
dest: /etc/systemd/system/varnish.service.d/evolinux.conf
force: yes
notify: reload systemd
notify:
- reload systemd
- restart varnish
tags:
- varnish