bodhi: Switch staging-sync playbook to use fedora-messaging.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2019-05-13 20:47:27 +00:00
parent 346868d45a
commit f503a47536

View file

@ -23,7 +23,7 @@
tasks:
- command: oc -n bodhi scale dc/bodhi-web --replicas=0
- name: bring staging services down (fedmsg-hub-3)
- name: bring staging services down (messaging)
hosts: bodhi-backend-stg
user: root
vars_files:
@ -32,7 +32,9 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- service: name=fedmsg-hub-3 state=stopped
- service:
name: fm-consumer@config.service
state: stopped
# Here's the meaty part in the middle
- name: drop and re-create the staging db entirely
@ -82,7 +84,7 @@
tasks:
- service: name=httpd state=started
- name: bring staging services up (fedmsg-hub-3)
- name: bring staging services up (messaging)
hosts: bodhi-backend-stg
user: root
vars_files:
@ -91,4 +93,6 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- service: name=fedmsg-hub-3 state=started
- service:
name: fm-consumer@config.service
state: started