
Follow up to Id60e25e129e323f3c07e702bb81a11efc530fb3e, adds support for firewalld configuration on Infra VMs. Change-Id: Idd1ab982d4bca1cbdb0c4c6041cf3b6c17eae6cb
13 lines
313 B
YAML
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'
|