ovn: Fix disabling of gateway chassis
It currently runs on hosts in ovn group, and in case that controllers are not network gateways - it fails on missing openvswitch. Change-Id: Ibbf683872337402b4e2a38323bb6a3f35ee4bed4
This commit is contained in:
parent
2b906bc382
commit
ec04972b72
@ -32,7 +32,9 @@
|
||||
- name: Ensure chassis as gateway is disabled where required
|
||||
become: true
|
||||
command: docker exec openvswitch_vswitchd ovs-vsctl remove Open_vSwitch . external-ids ovn-cms-options
|
||||
when: inventory_hostname not in groups["ovn-controller-network"]
|
||||
when:
|
||||
- inventory_hostname in groups["openvswitch"]
|
||||
- inventory_hostname not in groups["ovn-controller-network"]
|
||||
|
||||
- name: Set OVN remote probe interval
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user