bodhi: Add a 'reload bodhi httpd' handler to avoid messing with the backends

This commit is contained in:
Luke Macken 2015-11-24 16:35:08 +00:00
parent 05cdc93882
commit c7b28d72f1
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
- name: reload bodhi httpd
command: /usr/local/bin/conditional-reload.sh httpd httpd
when: not inventory_hostname.startswith('bodhi-backend')

View file

@ -39,7 +39,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi') and env == 'staging'
notify:
- reload httpd
- reload bodhi httpd
tags:
- config
- bodhi