fix osbs-cluster environ for oadm commands
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
77cc64c2a2
commit
643fa9b707
1 changed files with 6 additions and 0 deletions
|
@ -293,6 +293,11 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
vars:
|
||||||
|
osbs_kubeconfig_path: /etc/origin/master/admin.kubeconfig
|
||||||
|
osbs_environment:
|
||||||
|
KUBECONFIG: "{{ osbs_kubeconfig_path }}"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- {
|
- {
|
||||||
role: osbs-on-openshift,
|
role: osbs-on-openshift,
|
||||||
|
@ -321,6 +326,7 @@
|
||||||
args:
|
args:
|
||||||
creates: "/etc/origin/koji-builder-policy-added"
|
creates: "/etc/origin/koji-builder-policy-added"
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
|
environment: "{{ osbs_environment }}"
|
||||||
|
|
||||||
- name: Manage docker images and image stream
|
- name: Manage docker images and image stream
|
||||||
hosts: osbs-masters[0]
|
hosts: osbs-masters[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue