When running oc commands, make sure to pass namespace (project)
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
abef7d2730
commit
070e889cf4
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- command: oc scale dc/bodhi-web --replicas=0
|
- command: oc -n bodhi scale dc/bodhi-web --replicas=0
|
||||||
|
|
||||||
- name: bring staging services down (fedmsg-hub)
|
- name: bring staging services down (fedmsg-hub)
|
||||||
hosts: bodhi-backend-stg
|
hosts: bodhi-backend-stg
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- command: oc scale dc/bodhi-web --replicas=2
|
- command: oc -n bodhi scale dc/bodhi-web --replicas=2
|
||||||
|
|
||||||
- name: bring staging services up (httpd)
|
- name: bring staging services up (httpd)
|
||||||
hosts: bodhi2-stg
|
hosts: bodhi2-stg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue