7d15aa16f2
Adds support for configuring firewalld for CentOS hosts managed by Kayobe. * create zones * set default zone * set zone for interfaces * define rules Change-Id: Id60e25e129e323f3c07e702bb81a11efc530fb3e Story: 2008991 Task: 42644
13 lines
303 B
YAML
13 lines
303 B
YAML
---
|
|
- name: Ensure firewall is configured
|
|
hosts: seed-hypervisor:seed:overcloud
|
|
tags:
|
|
- config
|
|
- firewall
|
|
tasks:
|
|
- name: Configure the firewall
|
|
include_role:
|
|
name: "firewall-{{ ansible_facts.os_family | lower }}"
|
|
when:
|
|
- ansible_facts.os_family == 'RedHat'
|