Move up the handlers declaration

This commit is contained in:
Pierre-Yves Chibon 2017-08-16 14:45:23 +02:00
parent a69452cfd7
commit 1633b47205

View file

@ -59,6 +59,9 @@
user: root user: root
gather_facts: True gather_facts: True
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"
@ -67,6 +70,3 @@
roles: roles:
- { role: rdbsync, tags: ['rdbsync']} - { role: rdbsync, tags: ['rdbsync']}
handlers:
- include: "{{ handlers_path }}/restart_services.yml"