Skip to content

Commit e641f7e

Browse files
committed
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
1 parent bf14155 commit e641f7e

File tree

1 file changed

+1
-1
lines changed
  • playbooks/roles/bifrost-deploy-nodes-dynamic/tasks

1 file changed

+1
-1
lines changed

playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
- name: "Set UUID from Ironic"
4040
set_fact:
41-
uuid: "{{ node_info.baremetal_nodes[0].uuid }}"
41+
uuid: "{{ node_info.baremetal_nodes[0].id }}"
4242
when:
4343
- uuid is undefined
4444
- name is defined

0 commit comments

Comments
 (0)