Michael Gugino 186b2eee8b Convert node-related roles from include_tasks to import_tasks 7 rokov pred
..
defaults d9d39f333f Default to global setting for firewall. 7 rokov pred
tasks 186b2eee8b Convert node-related roles from include_tasks to import_tasks 7 rokov pred
README.md eacc12897c Migrate to import_role for static role inclusion 7 rokov pred

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:
  - import_role:
      name: os_firewall
    vars:
      os_firewall_use_firewalld: false

Use firewalld:

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

License

Apache License, Version 2.0

Author Information

Jason DeTiberus - jdetiber@redhat.com