Always scale up Bodhi pods after upgrades.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
488e718455
commit
07437cbf7a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue