865ac24fc5
Change-Id: Ie35ea07b8b6f95cbb56eb722ae2366c00243e562
13 lines
512 B
YAML
13 lines
512 B
YAML
---
|
|
- name: Ensuring OVS bridge is properly setup
|
|
become: true
|
|
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 )
|
|
with_together:
|
|
- "{{ neutron_bridge_name.split(',') }}"
|
|
- "{{ neutron_external_interface.split(',') }}"
|