Used in network repo.
Runnable with:
ansible-playbook playbooks/opnsense_api.yml -i environments/prod --ask-vault-pass
config.xml file placed in files/
Available variables are listed below, along with default values (see defaults/main.yml
):
api_port:
api_key:
api_secret:
api_url:
None.
- hosts: firewall
roles:
- ansible-opnsense-api
Apache2