Switch branches/tags
v3.11.0-alpha.0 v3.10.0-rc.0 v3.0.2-2 v3.0.2-1 v3.0.1-1 v3.0.0 v3.0.0-rc v3.0.0-8 v3.0.0-7 v3.0.0-6 v3.0.0-5 v3.0.0-4 v3.0.0-3 v3.0.0-2 v3.0.0-1 v3-beta2-03-09-15 openshift-ansible-v3.6.77-stage openshift-ansible-v3.5.5.17-1 openshift-ansible-v3.4.1.26-1 openshift-ansible-v3.3.1.27-1 openshift-ansible-inventory-0.0.11-1 openshift-ansible-inventory-0.0.10-1 openshift-ansible-inventory-0.0.9-1 openshift-ansible-inventory-0.0.8-1 openshift-ansible-inventory-0.0.7-1 openshift-ansible-inventory-0.0.6-1 openshift-ansible-inventory-0.0.5-1 openshift-ansible-inventory-0.0.4-1 openshift-ansible-inventory-0.0.3-1 openshift-ansible-inventory-0.0.2-1 openshift-ansible-inventory-0.0.1-1 openshift-ansible-bin-0.0.21-1 openshift-ansible-bin-0.0.20-1 openshift-ansible-bin-0.0.19-1 openshift-ansible-bin-0.0.18-1 openshift-ansible-bin-0.0.17-1 openshift-ansible-bin-0.0.16-1 openshift-ansible-bin-0.0.15-1 openshift-ansible-bin-0.0.14-1 openshift-ansible-bin-0.0.13-1 openshift-ansible-bin-0.0.12-1 openshift-ansible-bin-0.0.11-1 openshift-ansible-bin-0.0.10-1 openshift-ansible-bin-0.0.9-1 openshift-ansible-bin-0.0.8-1 openshift-ansible-bin-0.0.7-1 openshift-ansible-bin-0.0.6-1 openshift-ansible-bin-0.0.5-1 openshift-ansible-bin-0.0.4-1 openshift-ansible-bin-0.0.3-1 openshift-ansible-bin-0.0.2-1 openshift-ansible-bin-0.0.1-1 openshift-ansible-Unexpected.0.0.0.0-1 openshift-ansible-Unexpected-1 openshift-ansible-3.11.0-0.7.0 openshift-ansible-3.11.0-0.6.0 openshift-ansible-3.11.0-0.5.0 openshift-ansible-3.11.0-0.1.0 openshift-ansible-3.11.0-0.0.0 openshift-ansible-3.10.21-1 openshift-ansible-3.10.20-1 openshift-ansible-3.10.19-1 openshift-ansible-3.10.18-1 openshift-ansible-3.10.17-1 openshift-ansible-3.10.16-1 openshift-ansible-3.10.15-1 openshift-ansible-3.10.14-1 openshift-ansible-3.10.13-1 openshift-ansible-3.10.12-1 openshift-ansible-3.10.11-1 openshift-ansible-3.10.10-1 openshift-ansible-3.10.9-1 openshift-ansible-3.10.8-1 openshift-ansible-3.10.7-1 openshift-ansible-3.10.6-1 openshift-ansible-3.10.5-1 openshift-ansible-3.10.3-1 openshift-ansible-3.10.2-1 openshift-ansible-3.10.1-1 openshift-ansible-3.10.0-0.69.0 openshift-ansible-3.10.0-0.68.0 openshift-ansible-3.10.0-0.67.0 openshift-ansible-3.10.0-0.66.0 openshift-ansible-3.10.0-0.65.0 openshift-ansible-3.10.0-0.64.0 openshift-ansible-3.10.0-0.63.0 openshift-ansible-3.10.0-0.61.0 openshift-ansible-3.10.0-0.60.0 openshift-ansible-3.10.0-0.59.0 openshift-ansible-3.10.0-0.58.0 openshift-ansible-3.10.0-0.57.0 openshift-ansible-3.10.0-0.56.0 openshift-ansible-3.10.0-0.54.0 openshift-ansible-3.10.0-0.53.0 openshift-ansible-3.10.0-0.52.0 openshift-ansible-3.10.0-0.51.0 openshift-ansible-3.10.0-0.50.0 openshift-ansible-3.10.0-0.49.0 openshift-ansible-3.10.0-0.48.0 openshift-ansible-3.10.0-0.47.0
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
defaults
tasks
README.md

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