hspaans.firewalld

Nombre del Rol

Instalar y configurar firewalld

Requisitos

Ninguno ya que se está instalando el paquete firewalld.

Variables del Rol

Las variables predeterminadas se establecen en defaults/main.yml.

Dependencias

No hay dependencia de otros roles de Ansible Galaxy.

Ejemplo de Playbook

---
- hosts: servidores
  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 }

Licencia

MIT

Información del Autor

Este rol fue creado en 2020 por Hans Spaans.

Acerca del proyecto

Install firewalld and maintain firewall rulesets

Instalar
ansible-galaxy install hspaans.firewalld
Licencia
mit
Descargas
1.1k
Propietario
GitBiz evangelist that follows the enlightenment path of CI/CD towards NoOps.