This commit is contained in:
Cory Hawkless 2020-11-23 14:43:24 +10:30
parent 4118ee3b5c
commit e87205b01f
1 changed files with 3 additions and 2 deletions

View File

@ -106,10 +106,11 @@
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}}" - set_fact: ovn_nb_group_name_rendered="{{hostvars[ansible_hostname].ovn_nb_db_group}}"
tags: service
- 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 %}"
tags: service
#Install the custom service to start OVS and OVN as required #Install the custom service to start OVS and OVN as required
- name: "Copy /usr/sbin/ovsovn-service-manager.sh file" - name: "Copy /usr/sbin/ovsovn-service-manager.sh file"