Stop haproxy on ovn-controller nodes

include ovn-controller nodes.

Change-Id: I122a7e2df0d546c18e4ec607abeb36cb0cec196f
This commit is contained in:
Marc Gariepy
2023-06-16 10:58:30 -04:00
committed by Dmitriy Rabotyagov
parent 924e290af9
commit a3c09f159b

View File

@@ -220,6 +220,6 @@
enabled: false
when:
- ansible_facts['pkg_mgr'] == 'apt'
- ansible_facts['hostname'] in groups['neutron_metadata_agent']
- ansible_facts['hostname'] in groups['neutron_metadata_agent'] or ansible_facts['hostname'] in groups['neutron_ovn_controller']
- groups['haproxy_all'] is defined
- ansible_facts['hostname'] not in groups['haproxy_all']