Always scale up Bodhi pods after upgrades.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-05-17 17:42:28 +00:00
parent 488e718455
commit 07437cbf7a

View file

@ -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