Update uuid to id in node_info to match module change

Due to change in ansible-collections-openstack baremetal_node_info
module introduced by commit 902b2f8, node UUID is no longer stored in
`uuid` field and `id` is used instead. Due to this  deploy-dynamic
playbook  may no longer work in certain scenarios. This change updates
the field to match the ansible module.

Change-Id: I3e830e1c6caa85437c4aa6fbc95e5d384ee9562d
This commit is contained in:
Jacob Anders 2025-01-31 20:15:55 +10:00
parent bf14155b8f
commit e641f7e121

View File

@ -38,7 +38,7 @@
- name: "Set UUID from Ironic"
set_fact:
uuid: "{{ node_info.baremetal_nodes[0].uuid }}"
uuid: "{{ node_info.baremetal_nodes[0].id }}"
when:
- uuid is undefined
- name is defined