https://github.com/holms/ansible-iptables
Iptables role for your playbook
https://github.com/holms/ansible-iptables
Last synced: 6 months ago
JSON representation
Iptables role for your playbook
- Host: GitHub
- URL: https://github.com/holms/ansible-iptables
- Owner: holms
- License: apache-2.0
- Created: 2014-09-09T23:15:05.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-22T03:22:09.000Z (about 10 years ago)
- Last Synced: 2024-04-14T20:16:37.921Z (about 2 years ago)
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ansible-iptables
================
Iptables role for your playbook
# Supported platforms
* Ubuntu 14.04
# Usage
Example of playbook
Notice: `firewall` should be defined
```
- hosts: all
user: root
vars:
- firewall:
- { name: ssh, port: 22, ip: 0/0 }
- { name: http, port: 80, ip: 0/0 }
- { name: https, port: 443, ip: 0/0 }
roles:
- { role: iptables }
```