Role Ansible utilisé par l'association Elukerio pour déployer ses pare-feux.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mablr fef659b25c
Ajout de nouveaux auteurs
1 year ago
defaults First commit 3 years ago
meta added meta info 3 years ago
tasks Suppression propre du fichier de config temporaire 1 year ago
README.md Ajout de nouveaux auteurs 1 year ago

README.md

ansible-opnsense

Ansible role to configure OPNsense firewalls

Requirements

  • OPNsense firewall with shell access

Role Variables

An example: https://github.com/naturalis/oss-network-demo/tree/master/ansible/basic

Dependencies

sudo pip install lxml
sudo pip3 install lxml
sudo apt install secure-delete

Example Playbook

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 command

ansible-playbook -c paramiko firewalls.yml -l firewall1 -t user,fetch,copy,reload

License

Apache 2.0

Author Information

2018-2019