Files
configpolicy/firewalld.yml
Dustin C. Hatch 10ae79e5a2 firewalld: Playbook to bootstrap firewalld
For machines that were not pre-installed with firewalld, the
`firewalld.yml` playbook will install it and set it to start
automatically at boot.
2018-01-29 15:11:07 -06:00

22 lines
406 B
YAML

- hosts: '!no-firewalld'
tasks:
- name: ensure firewalld is installed
package:
name=firewalld
state=present
tags:
- install
- firewalld
- name: ensure firewalld starts at boot
service:
name=firewalld
enabled=yes
tags:
- firewalld
- name: ensure firewalld is running
service:
name=firewalld
state=started
tags:
- firewalld