Skip to content

Commit

Permalink
Collect and use edpm Ansible key
Browse files Browse the repository at this point in the history
We need to login to the edpm node to verify the image has been 'hotfixed'. This
change collects the edpm SSH key and then uses it to ssh into the edpm node

Signed-off-by: Brendan Shephard <bshephar@redhat.com>
  • Loading branch information
bshephar authored and openshift-merge-bot[bot] committed May 31, 2024
1 parent b6f5e1c commit 773f4df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/validations/tasks/edpm/hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 773f4df

Please sign in to comment.