From 317e732a463a669c231ffc1bc616a542b1175e52 Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Mon, 10 Nov 2025 16:44:36 -0500 Subject: [PATCH] [ci] Update COO subscription playbook for local execution Add defaults to the expected vars --- README.md | 9 +++++++++ ci/create-coo-subscription-playbook.yaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ebb7cc28..577c450e 100644 --- a/README.md +++ b/README.md @@ -293,6 +293,15 @@ If you need to connect directly to the CRC VM just use ssh -i ~/.crc/machines/crc/id_ecdsa core@"192.168.130.11" ``` +## Install pre-requisites + +To use MetricsStorage storage, the cluster-observability-operator is required. +Use the following playbook to install it: + +```bash +ansible-playbook ci/create-coo-subscription-playbook.yaml +``` + ## License ```text diff --git a/ci/create-coo-subscription-playbook.yaml b/ci/create-coo-subscription-playbook.yaml index 90e9371c..eefb821d 100644 --- a/ci/create-coo-subscription-playbook.yaml +++ b/ci/create-coo-subscription-playbook.yaml @@ -4,8 +4,8 @@ hosts: "{{ cifmw_target_hook_host | default('localhost') }}" gather_facts: false environment: - KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" - PATH: "{{ cifmw_path }}" + KUBECONFIG: "{{ cifmw_openshift_kubeconfig | default(ansible_env.HOME + '/.kube.config' ) }}" + PATH: "{{ cifmw_path | default(ansible_env.PATH) }}" tasks: - name: Import tasks for creating COO subscription ansible.builtin.include_tasks: "create-coo-subscription.yaml"