Skip to content

Commit 0bc4ecc

Browse files
committed
[ci] Update COO subscription playbook for local execution
Add defaults to the expected vars
1 parent 2bcf8bd commit 0bc4ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/create-coo-subscription-playbook.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
hosts: "{{ cifmw_target_hook_host | default('localhost') }}"
55
gather_facts: false
66
environment:
7-
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
8-
PATH: "{{ cifmw_path }}"
7+
KUBECONFIG: "{{ cifmw_openshift_kubeconfig | default(ansible_env.HOME + '/.kube.config' ) }}"
8+
PATH: "{{ cifmw_path | default(ansible_env.PATH) }}"
99
tasks:
1010
- name: Import tasks for creating COO subscription
1111
ansible.builtin.include_tasks: "create-coo-subscription.yaml"

0 commit comments

Comments
 (0)