ovn_nb_group_name_rendered
This commit is contained in:
parent
d71e1ae2c8
commit
4118ee3b5c
|
@ -105,6 +105,7 @@
|
||||||
- "/tmp/ovn_20.09.0-1_amd64.deb"
|
- "/tmp/ovn_20.09.0-1_amd64.deb"
|
||||||
when: force_new_ovn_download == True
|
when: force_new_ovn_download == True
|
||||||
|
|
||||||
|
- set_fact: ovn_nb_group_name_rendered="{{hostvars[ansible_hostname].ovn_nb_db_group}}"
|
||||||
|
|
||||||
- name: Generate OVN NB Connection fact
|
- name: Generate OVN NB Connection fact
|
||||||
set_fact: OVN_NB_Connection="{% for host in groups[ovn_nb_group_name_rendered] %}tcp:{{ hostvars[host].host_loopback_IP }}:6641{% if not loop.last %},{% endif %}{% endfor %}"
|
set_fact: OVN_NB_Connection="{% for host in groups[ovn_nb_group_name_rendered] %}tcp:{{ hostvars[host].host_loopback_IP }}:6641{% if not loop.last %},{% endif %}{% endfor %}"
|
||||||
|
|
Loading…
Reference in New Issue