fix(ansible/net-valid): The external address fact. (#941)
This commit is contained in:
1 parent
f90633ffe5
commit
440780206e
1 file changed
+3
-3
@@ -2,9 +2,9 @@
|
|||||||
- name: Set reachable address
|
- name: Set reachable address
|
||||||
set_fact:
|
set_fact:
|
||||||
current_address: "{{ item.external_address | default(item.address) }}"
|
current_address: "{{ item.external_address | default(item.address) }}"
|
||||||
loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}"
|
loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.address }}"
|
label: "{{ item.address }}"
|
||||||
|
|
||||||
- name: Verify master node count
|
- name: Verify master node count
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
|
|||||||
Reference in new issue
Block a user