Add notify in file modification and file link

This commit is contained in:
Dryusdan 2020-05-28 13:07:27 +02:00
parent 6aa7c341df
commit 932ce8fde2
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@
dest: "/etc/nginx/sites-available/{{ item.name }}"
when:
- item.state == "present"
notify:
- Reload Nginx
loop: "{{ nginx_vhost }}"
tags:
- vhost