diff --git a/playbooks/hosts/waiverdb-dev.fedorainfracloud.org.yml b/playbooks/hosts/waiverdb-dev.fedorainfracloud.org.yml index c342a6e664..05a4bd278d 100644 --- a/playbooks/hosts/waiverdb-dev.fedorainfracloud.org.yml +++ b/playbooks/hosts/waiverdb-dev.fedorainfracloud.org.yml @@ -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 diff --git a/roles/waiverdb/tasks/main.yml b/roles/waiverdb/tasks/main.yml index 14006e8975..10c1cdba92 100644 --- a/roles/waiverdb/tasks/main.yml +++ b/roles/waiverdb/tasks/main.yml @@ -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 + \ No newline at end of file