[CI] Use ovs-vsctl to ensure bridges
The upstream openvswitch collection has been deprecated and was not included in newer Ansible (like Ansible 11). Since jobs switched to Ansible jobs relying on these tasks are failing. This patch switches to use ovs bridge command same as add-port in next tasks. Also add the role to irrelevant-files as single node jobs need not run on multi node role changes. Depends-On: https://review.opendev.org/c/x/devstack-plugin-tobiko/+/958046 Change-Id: I87372ad19f3b9c054e2a047ba9925a3ba0d6e503 Signed-off-by: Yatin Karel <ykarel@redhat.com>
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
- name: Ensure the infra bridge exists
|
||||
become: yes
|
||||
openvswitch_bridge:
|
||||
bridge: "{{ infra_bridge_name }}"
|
||||
command: >-
|
||||
ovs-vsctl --may-exist add-br {{ infra_bridge_name }}
|
||||
|
||||
- name: Ensure the Neutron external bridge exists
|
||||
become: yes
|
||||
openvswitch_bridge:
|
||||
bridge: "{{ neutron_external_bridge_name }}"
|
||||
command: >-
|
||||
ovs-vsctl --may-exist add-br {{ neutron_external_bridge_name }}
|
||||
|
||||
- name: Create patch port between bridges
|
||||
become: yes
|
||||
|
Reference in New Issue
Block a user