Merge "Don't configure external bridge on computes if DVR is disabled"

This commit is contained in:
Jenkins 2017-05-03 12:24:12 +00:00 committed by Gerrit Code Review
commit 1284a1b7c7

View File

@ -34,6 +34,9 @@
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 enable_neutron_dvr | bool)
with_together:
- "{{ neutron_bridge_name.split(',') }}"
- "{{ neutron_external_interface.split(',') }}"