Files
ansible-matzman-test/test02.yml
T
2026-03-26 08:57:55 +01:00

13 lines
336 B
YAML

---
- hosts: opnsense.homelan
connection: local # execute modules on controller
gather_facts: false
tasks:
- name: Example
oxlorg.opnsense.alias:
firewall: "{{ ansible_host }}" # or use a per-host variable to store the FQDN..
api_key: "{{ firewall.key }}"
api_secret: "{{ firewall.secret }}"