Merge "Install openswitch and firewall if need a bridge only"

This commit is contained in:
Zuul
2020-10-24 21:25:24 +00:00
committed by Gerrit Code Review

View File

@@ -4,6 +4,9 @@
- include: common.yaml
environment:
PATH: "{{ ansible_env.PATH }}:/sbin:/usr/sbin"
when: >-
inventory_hostname in groups['switch'] or
inventory_hostname in groups['peers']
- include: switch.yaml
environment:
@@ -20,3 +23,6 @@
- name: Persist iptables rules
include_role:
name: persistent-firewall
when: >-
inventory_hostname in groups['switch'] or
inventory_hostname in groups['peers']