hspaans.firewalld

Role Name

Install and set up firewalld

Requirements

There are no special requirements since we will be installing the firewalld package.

Role Variables

Default settings can be found in defaults/main.yml.

Dependencies

This role does not depend on any other Ansible Galaxy roles.

Example Playbook

---
- 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 }

License

MIT

Author Information

This role was created in 2020 by Hans Spaans.

Informazioni sul progetto

Install firewalld and maintain firewall rulesets

Installa
ansible-galaxy install hspaans.firewalld
Licenza
mit
Download
1.1k
Proprietario
GitBiz evangelist that follows the enlightenment path of CI/CD towards NoOps.