NB SB fuck up

This commit is contained in:
2020-11-23 14:46:52 +10:30
parent e87205b01f
commit dede47c8dd
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -105,13 +105,13 @@
- "/tmp/ovn_20.09.0-1_amd64.deb"
when: force_new_ovn_download == True
- set_fact: ovn_nb_group_name_rendered="{{hostvars[ansible_hostname].ovn_nb_db_group}}"
tags: service
- 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_sb_group_name_rendered="{{hostvars[ansible_hostname].ovn_sb_db_group}}"
tags: service
- name: Generate OVN SB Connection fact
set_fact: OVN_SB_Connection="{% for host in groups[ovn_sb_group_name_rendered] %}tcp:{{ hostvars[host].host_loopback_IP }}:6642{% if not loop.last %},{% endif %}{% endfor %}"
tags: service
#Install the custom service to start OVS and OVN as required
- name: "Copy /usr/sbin/ovsovn-service-manager.sh file"
template: