varnish: add a restart handler

This commit is contained in:
Jérémy Lecour 2017-12-04 14:59:34 +01:00 committed by Jérémy Lecour
parent d34ade4493
commit 12808feeff
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@
state: reloaded state: reloaded
daemon_reload: yes daemon_reload: yes
- name: restart varnish
systemd:
name: varnish
state: restarted
daemon_reload: yes
- name: reload systemd - name: reload systemd
command: systemctl daemon-reload command: systemctl daemon-reload