Fix ansible syntax error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
c0d80427b9
commit
264616c766
1 changed files with 13 additions and 7 deletions
|
@ -148,14 +148,20 @@
|
|||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi_openshift_pods }}
|
||||
when: env == "staging"
|
||||
# Redeploy the build config as it may request a newer version in the Dockerfile
|
||||
- role: openshift/object
|
||||
app: bodhi
|
||||
template: buildconfig.yml
|
||||
objectname: buildconfig.yml
|
||||
- import_role:
|
||||
name: openshift/object
|
||||
vars:
|
||||
app: bodhi
|
||||
template: buildconfig.yml
|
||||
objectname: buildconfig.yml
|
||||
when: env == "staging"
|
||||
# Start a build with the new buildconfig
|
||||
- role: openshift/start-build
|
||||
app: bodhi
|
||||
buildname: bodhi-base
|
||||
- import_role:
|
||||
name: openshift/start-build
|
||||
vars:
|
||||
app: bodhi
|
||||
buildname: bodhi-base
|
||||
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