An open API service indexing awesome lists of open source software.

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

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 }
```