When running oc commands, make sure to pass namespace (project)

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-05-07 15:57:26 +02:00
parent abef7d2730
commit 070e889cf4

View file

@ -21,7 +21,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
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)
hosts: bodhi-backend-stg
@ -69,7 +69,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
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)
hosts: bodhi2-stg