bodhi: Add a 'reload bodhi httpd' handler to avoid messing with the backends
This commit is contained in:
parent
05cdc93882
commit
c7b28d72f1
2 changed files with 4 additions and 1 deletions
3
roles/bodhi2/base/handlers/restart_bodhi.yml
Normal file
3
roles/bodhi2/base/handlers/restart_bodhi.yml
Normal 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')
|
|
@ -39,7 +39,7 @@
|
|||
mode=0600
|
||||
when: inventory_hostname.startswith('bodhi') and env == 'staging'
|
||||
notify:
|
||||
- reload httpd
|
||||
- reload bodhi httpd
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue