mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
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:
@@ -146,6 +146,14 @@
|
||||
delegate_to: "{{os_delegate_via}}{{env_suffix}}.phx2.fedoraproject.org"
|
||||
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
|
||||
- import_playbook: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies
|
||||
when: nodns is not defined or not nodns
|
||||
|
||||
Reference in New Issue
Block a user