waiverdb role and playbook: add the global handlers in the playbook and fix a typo in the role

This commit is contained in:
Matt Jia 2017-05-17 10:48:46 +10:00
parent d0e6ccbd13
commit 7676b62417
No known key found for this signature in database
GPG key ID: 496C2CDC1EF01F5D
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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