8736817a98
When editing external bridge configuration and running a reconfigure on openvswitch, handler "Ensuring OVS bridge is properly setup" needs to run, but doesn't. This moves the task from handlers to own file and always includes it after running the handlers. Change-Id: Iee39cf00b743ab0776354749c6e162814b5584d8 Closes-Bug: #1794504
13 lines
526 B
YAML
13 lines
526 B
YAML
---
|
|
- name: Ensuring OVS bridge is properly setup
|
|
command: docker exec openvswitch_db /usr/local/bin/kolla_ensure_openvswitch_configured {{ item.0 }} {{ item.1 }}
|
|
register: status
|
|
changed_when: status.stdout.find('changed') != -1
|
|
when:
|
|
- inventory_hostname in groups["network"]
|
|
or (inventory_hostname in groups["compute"] and computes_need_external_bridge | bool )
|
|
- not enable_onos | bool
|
|
with_together:
|
|
- "{{ neutron_bridge_name.split(',') }}"
|
|
- "{{ neutron_external_interface.split(',') }}"
|