kayobe/ansible/firewall.yml
Mark Goddard 4b31079fae firewalld: support infra VMs
Follow up to Id60e25e129e323f3c07e702bb81a11efc530fb3e, adds support for
firewalld configuration on Infra VMs.

Change-Id: Idd1ab982d4bca1cbdb0c4c6041cf3b6c17eae6cb
2021-10-06 14:30:58 +02:00

13 lines
313 B
YAML

---
- name: Ensure firewall is configured
hosts: seed-hypervisor:seed:overcloud:infra-vms
tags:
- config
- firewall
tasks:
- name: Configure the firewall
include_role:
name: "firewall-{{ ansible_facts.os_family | lower }}"
when:
- ansible_facts.os_family == 'RedHat'