Tip
Check out the repository on GitHub
1 - Installation¶
Ansible¶
See the documentation on how to install Ansible.
If you DO NOT want to use Ansible - this fork provides you with a raw Python3 interface.
Dependencies¶
The httpx python module is used for API communications!
python3 -m pip install --upgrade httpx
Collection¶
# stable version:
ansible-galaxy collection install ansibleguy.opnsense
# latest version:
ansible-galaxy collection install git+https://github.com/ansibleguy/collection_opnsense.git
# install to specific directory for easier development
cd $PLAYBOOK_DIR
ansible-galaxy collection install git+https://github.com/ansibleguy/collection_opnsense.git -p ./collections