Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions roles/kustomize_deploy/tasks/install_operators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,19 @@
ansible.builtin.include_role:
name: ci_gen_kustomize_values

- name: Copy generated values.yaml for OLM resources
ansible.builtin.copy:
backup: true
remote_src: true
- name: Slurp generated values.yaml for OLM resources
ansible.builtin.slurp:
src: >-
{{
(cifmw_kustomize_deploy_basedir,
'artifacts', 'ci_gen_kustomize_values',
'olm-values', 'values.yaml') | path_join
}}
register: _cifmw_kustomize_deploy_olm_values_content

- name: Copy generated values.yaml for OLM resources to localhost
ansible.builtin.copy:
content: "{{ _cifmw_kustomize_deploy_olm_values_content.content | b64decode }}"
dest: >-
{{
(
Expand All @@ -65,6 +68,7 @@
) | path_join
}}
mode: "0644"
delegate_to: localhost

- name: Generate the OLM kustomization file
ansible.builtin.copy:
Expand Down