Ansible role to configure OPNsense firewalls
- OPNsense firewall with shell access
An example: https://github.com/naturalis/oss-network-demo/tree/master/ansible/basic
sudo pip install lxml
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
---
- hosts: firewalls
gather_facts: false
become: true
roles:
- ansible-opnsense
...
ansible-playbook -c paramiko firewalls.yml -l firewall1 -t user,fetch,copy,reload
Apache 2.0
Rudi Broekhuizen - [email protected]