Installs and configures firewall-lihas
Uses lihas_common to set up repositiories and lihas_variables to merge the configuration from multiple sources
To run solo:
ansible-galaxy install -r requirements.yml
ansible-playbook -i localhost, firewall.yml
Arrays with lines for corresponding the firewall-lihas config files /etc/firewall-lihas.d/interface-IFACENAME/
List of interfaces to link to IFACESRC
List of lines to be put in /etc/firewall.lihas.d/include/FILENAME
List of lines to be put in /etc/firewall.lihas.d/group/FILENAME
Extra lines in /etc/firewall-lihas.d/localhost-ansible
- lihas_bird: Add rules for OSPF automatically on OSPF interfaces
- lihas_keepalived: Add SNAT/DNAT rules
- lihas_common
- lihas_variables
- firewall_config: only do configuratiuon, no software installation, needs tag
variablesas well
---
- hosts: '*'
roles:
- lihas_firewall