--- # Usese oxlorg.opnsense # Check documentation @ https://ansible-opnsense.oxl.app/usage/2_basic.html#prerequisites - name: Configure OPNSense hosts: opn connection: local #executes on controller gather_facts: false collections: - oxlorg.opnsense module_defaults: oxlorg.opnsense.alias: api_credential_file: '/Users/fabioisti/Keys/ns1.sifi.isti.cnr.it_fabio_apikey.txt' firewall: "{{ ansible_host}}" ssl_verify: true ssl_ca_file: '/Users/fabioisti/git/SSE-LAB/ansible/inventories/group_vars/sifi/SIFI_CA.pem' tasks: - name : Check libs script: /Users/fabioisti/test_httpx.py args: executable: python3 - name: Test oxlorg.opnsense.alias: name: 'ANSIBLE_TEST1' content: ['1.1.1.1']