mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
When running oc commands, make sure to pass namespace (project)
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user