Skip to content

Commit 317e732

Browse files
committed
[ci] Update COO subscription playbook for local execution
Add defaults to the expected vars
1 parent 683f5ca commit 317e732

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,15 @@ If you need to connect directly to the CRC VM just use
293293
ssh -i ~/.crc/machines/crc/id_ecdsa core@"192.168.130.11"
294294
```
295295
296+
## Install pre-requisites
297+
298+
To use MetricsStorage storage, the cluster-observability-operator is required.
299+
Use the following playbook to install it:
300+
301+
```bash
302+
ansible-playbook ci/create-coo-subscription-playbook.yaml
303+
```
304+
296305
## License
297306
298307
```text

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)