bodhi: Switch staging-sync playbook to use fedora-messaging.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
346868d45a
commit
f503a47536
1 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue