diff --git a/roles/validations/tasks/edpm/hotfix.yml b/roles/validations/tasks/edpm/hotfix.yml index 9c3d79e1dc..44ef0deedf 100644 --- a/roles/validations/tasks/edpm/hotfix.yml +++ b/roles/validations/tasks/edpm/hotfix.yml @@ -65,8 +65,7 @@ - name: Collect the image currently used by nova_compute on the edpm node ansible.builtin.shell: cmd: >- - set -o pipefail && podman inspect nova_compute | jq '.[].ImageName' | tr -d '"' - become: true + set -o pipefail && sudo podman inspect nova_compute | jq '.[].ImageName' | tr -d '"' delegate_to: "{{ cifmw_validations_edpm_check_node }}" register: post_change_nova_compute_image