Install and configure firewalld
None as the firewalld package is being installed.
Default variables are set in defaults/main.yml
.
No dependency on other Ansible Galaxy roles.
---
- hosts: servers
vars:
firewalld_services_enable:
- https
- ssh
firewalld_services_disable:
- ftp
- http
firewalld_rich_rule_add:
- zone: public
family: ipv4
address: 192.0.2.0/24
port: 22
protocol: tcp
action: accept
roles:
- { role: hspaans.firewalld, become: true }
MIT
This role was created in 2020 by Hans Spaans.