Luke Meyer fbb4e1ca73 retry package operations 7 tahun lalu
..
defaults d9d39f333f Default to global setting for firewall. 7 tahun lalu
tasks fbb4e1ca73 retry package operations 7 tahun lalu
README.md 7d50ffe98d Updated README to reflect refactor. Moved firewall initialize into separate file. 7 tahun lalu

README.md

OS Firewall

OS Firewall manages firewalld and iptables installation. case.

Note: firewalld is not supported on Atomic Host https://bugzilla.redhat.com/show_bug.cgi?id=1403331

Requirements

Ansible 2.2

Role Variables

Name Default
os_firewall_use_firewalld False If false, use iptables

Dependencies

None.

Example Playbook

Use iptables:

---
- hosts: servers
  task:
  - include_role:
      name: os_firewall
    vars:
      os_firewall_use_firewalld: false

Use firewalld:

---
- hosts: servers
  vars:
  tasks:
  - include_role:
      name: os_firewall
    vars:
      os_firewall_use_firewalld: true

License

Apache License, Version 2.0

Author Information

Jason DeTiberus - jdetiber@redhat.com