waiverdb role and playbook: add the global handlers in the playbook and fix a typo in the role
This commit is contained in:
parent
d0e6ccbd13
commit
7676b62417
2 changed files with 6 additions and 3 deletions
|
@ -25,6 +25,9 @@
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- include: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
- nginx
|
- nginx
|
||||||
|
|
|
@ -49,6 +49,8 @@
|
||||||
mode: 0660
|
mode: 0660
|
||||||
backup: yes
|
backup: yes
|
||||||
force: yes
|
force: yes
|
||||||
|
notify:
|
||||||
|
- restart waiverdb
|
||||||
|
|
||||||
- name: install the nginx config
|
- name: install the nginx config
|
||||||
template:
|
template:
|
||||||
|
@ -60,5 +62,3 @@
|
||||||
notify:
|
notify:
|
||||||
- restart nginx
|
- restart nginx
|
||||||
|
|
||||||
notify:
|
|
||||||
- restart waiverdb
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue