mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
Always scale up Bodhi pods after upgrades.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
@@ -135,10 +135,10 @@
|
||||
tasks:
|
||||
- name: Scale up pods
|
||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ groupvars['bodhi2']['openshift_pods'] }}
|
||||
when: migrations and env != "staging"
|
||||
when: env != "staging"
|
||||
- name: Scale up pods
|
||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ groupvars['bodhi2-stg']['openshift_pods'] }}
|
||||
when: migrations and env == "staging"
|
||||
when: env == "staging"
|
||||
|
||||
post_tasks:
|
||||
- name: tell nagios to unshush w.r.t. the frontend
|
||||
|
||||
Reference in New Issue
Block a user