holms.iptables

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

Iptables rules in easy way, with specifying ip and port number or name

Install
ansible-galaxy install holms.iptables
GitHub repository
License
apache-2.0
Downloads
51