Include handlers here.
This commit is contained in:
parent
6597e5ffe6
commit
89d8ca9e19
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
vars:
|
vars:
|
||||||
testing: False
|
testing: False
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
|
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
|
||||||
|
@ -26,6 +28,8 @@
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: tell nagios to shush w.r.t. the frontend
|
- name: tell nagios to shush w.r.t. the frontend
|
||||||
|
@ -46,6 +50,8 @@
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: tell nagios to shush w.r.t. the backend
|
- name: tell nagios to shush w.r.t. the backend
|
||||||
|
@ -79,6 +85,8 @@
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- service: name="httpd" state=started
|
- service: name="httpd" state=started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue