/ansible-role-iptables

Infrastructure as Code (IaC) with Ansible role for Iptables

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Ansible Galaxy Build Status

IaC: with Ansible role to configure Iptables


Description

Configura iptables firewall Linux. Com suporte para IPv4

Requirements

Installation

vagrant@localhost:~$ ansible-galaxy install wluisaraujo.iptables
vagrant@localhost:~$ ansible-galaxy install -r wluisaraujo.iptables/requirements.txt

Role Variables

defaults/main.yml

firewall_state: started
firewall_enabled_at_boot: true

Dependencies

  • None

Example Playbook

---
- hosts: localhost
  vars_files:
    - vars/main.yml
  roles:
    - { role: iptables }
...

Licence