Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nosmoht/ansible-role-firewall
Ansible role to install and configure firewall on RHEL based systems
https://github.com/nosmoht/ansible-role-firewall
Last synced: 21 days ago
JSON representation
Ansible role to install and configure firewall on RHEL based systems
- Host: GitHub
- URL: https://github.com/nosmoht/ansible-role-firewall
- Owner: Nosmoht
- Created: 2015-02-04T09:41:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-04T13:05:25.000Z (almost 10 years ago)
- Last Synced: 2023-12-16T19:23:22.258Z (11 months ago)
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Role Name
=========Install and configure firewall on RHEL based systems.
The role abstracts the need to install and configure a firewall. Currently only iptables and firewalld are supported.Requirements
------------Ansible 1.4
Role Variables
--------------firewall_package_state: present
firewall_service_state: running
firewall_service_enabled: true
firewall_config_services:
- name: ssh
state: enabled
firewall_config_ports:
- port: 123
protocol: udp
state: enabledependencies
------------No dependencies yet.
Example Playbook
----------------Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: firewall }License
-------BSD
Author Information
------------------Thomas Krahn