diff --git a/roles/edpm_prepare/tasks/kustomize_and_deploy.yml b/roles/edpm_prepare/tasks/kustomize_and_deploy.yml index c9330c99e..a09fe289f 100644 --- a/roles/edpm_prepare/tasks/kustomize_and_deploy.yml +++ b/roles/edpm_prepare/tasks/kustomize_and_deploy.yml @@ -210,6 +210,16 @@ if (cifmw_update_containers_watcher | default(false) | bool) else [] ) }} + register: _cifmw_set_containers_result + + - name: Read back generated OpenStackVersion CR + ansible.builtin.slurp: + src: "{{ _cifmw_set_containers_result.dest_path }}" + register: _cifmw_set_containers_cr + + - name: Display generated OpenStackVersion CR (container images to patch) + ansible.builtin.debug: + msg: "{{ (_cifmw_set_containers_cr.content | b64decode | trim).splitlines() }}" - name: Apply the OpenStackControlPlane CR environment: diff --git a/roles/update_containers/tasks/main.yml b/roles/update_containers/tasks/main.yml index faa0e1134..f7bdaf1c1 100644 --- a/roles/update_containers/tasks/main.yml +++ b/roles/update_containers/tasks/main.yml @@ -26,6 +26,15 @@ dest: "{{ cifmw_update_containers_dest_path }}" mode: "0644" +- name: Read back generated OpenStackVersion CR + ansible.builtin.slurp: + src: "{{ cifmw_update_containers_dest_path }}" + register: cifmw_update_containers_cr + +- name: Display generated OpenStackVersion CR (container images to patch) + ansible.builtin.debug: + msg: "{{ (cifmw_update_containers_cr.content | b64decode | trim).splitlines() }}" + - name: Update the containers when: cifmw_update_containers | bool environment: