First attempts

This commit is contained in:
Fabio Sinibaldi 2026-04-14 17:08:44 +02:00
parent dc0f8e0688
commit bee5da2f9a
1 changed files with 5 additions and 4 deletions

View File

@ -5,17 +5,18 @@
- name: Configure OPNSense
hosts: opn
connection: local #executes on controller
ssl_verify: true
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
tasks:
- name: Test
oxlorg.opnsense.alias:
firewall: "{{ ansible_host}}"
name: 'ANSIBLE_TEST1'
content: ['1.1.1.1']