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)
hostname: name="{{inventory_hostname}}"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
roles:
- fedmsg/base
- nginx

View file

@ -49,6 +49,8 @@
mode: 0660
backup: yes
force: yes
notify:
- restart waiverdb
- name: install the nginx config
template:
@ -59,6 +61,4 @@
mode: 0640
notify:
- restart nginx
notify:
- restart waiverdb