hspaans.firewalld

角色名称

安装和配置 firewalld

需求

无,因为正在安装 firewalld 包。

角色变量

默认变量在 defaults/main.yml 中设置。

依赖

没有依赖于其他 Ansible Galaxy 角色。

示例剧本

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

作者信息

该角色由 Hans Spaans 于 2020 年创建。

关于项目

Install firewalld and maintain firewall rulesets

安装
ansible-galaxy install hspaans.firewalld
许可证
mit
下载
1.1k
拥有者
GitBiz evangelist that follows the enlightenment path of CI/CD towards NoOps.