vhost_reboot: when rebooting ipa or rabbitmq hosts, restart some services after they come up.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
6765b95175
commit
661626a454
1 changed files with 8 additions and 0 deletions
|
@ -146,6 +146,14 @@
|
||||||
delegate_to: "{{os_delegate_via}}{{env_suffix}}.phx2.fedoraproject.org"
|
delegate_to: "{{os_delegate_via}}{{env_suffix}}.phx2.fedoraproject.org"
|
||||||
when: inventory_hostname.startswith(('os-node', 'os-master'))
|
when: inventory_hostname.startswith(('os-node', 'os-master'))
|
||||||
|
|
||||||
|
- name: restart gssproxy if we rebooted a ipa server
|
||||||
|
service: name=gssproxy state=restarted
|
||||||
|
when: inventory_hostname.startswith('ipa')
|
||||||
|
|
||||||
|
- name: restart rabbitmq if we rebooted a rabbit server
|
||||||
|
service: name=rabbitmq-server state=restarted
|
||||||
|
when: inventory_hostname.startswith('rabbitmq')
|
||||||
|
|
||||||
# Call out to that dns playbook. Put proxies back in now that they're back
|
# Call out to that dns playbook. Put proxies back in now that they're back
|
||||||
- import_playbook: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies
|
- import_playbook: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies
|
||||||
when: nodns is not defined or not nodns
|
when: nodns is not defined or not nodns
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue