mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
Restart the bodhi-consumer pods too when syncing bodhi
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
tasks:
|
||||
- command: oc -n bodhi scale dc/bodhi-web --replicas=0
|
||||
- command: oc -n bodhi scale dc/bodhi-consumer --replicas=0
|
||||
|
||||
- name: bring staging services down (messaging)
|
||||
hosts: bodhi_backend_stg
|
||||
@@ -72,6 +73,7 @@
|
||||
|
||||
tasks:
|
||||
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||
- command: oc -n bodhi scale dc/bodhi-consumer --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||
|
||||
- name: bring staging services up (httpd)
|
||||
hosts: bodhi2_stg
|
||||
|
||||
Reference in New Issue
Block a user