Skip to content

Commit

Permalink
wait until host transport node is managed by vcenter (laidbackware#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Knappek committed Dec 4, 2024
1 parent 8501381 commit 16609b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/nsxt/nsxt-transport-nodes/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@
delay: 10
until:
- host_transport_node_facts.results
- host_transport_node_facts | community.general.json_query(host_node_query)
- managed_by_server.0 == nested_vcenter.ip
vars:
host_node_query: "results[?node_deployment_info.resource_type=='HostNode'].node_deployment_info.managed_by_server"
managed_by_server: "{{ host_transport_node_facts | community.general.json_query(host_node_query) }}"

- ansible.builtin.debug: msg="Creating edge nodes {{ nsxt.edge_nodes }}"

Expand Down

0 comments on commit 16609b6

Please sign in to comment.