feat: update port forwarding configuration to use API call
All checks were successful
Deploy / deploy (push) Successful in 34s

This commit is contained in:
2026-03-13 20:22:40 +00:00
parent 1945097df7
commit 6aa700dbf4

View File

@@ -219,10 +219,14 @@
useVlanTagging: true useVlanTagging: true
- name: Configure Port Forwarding - name: Configure Port Forwarding
cisco.meraki.networks_appliance_firewall_port_forwarding_rules: ansible.builtin.uri:
state: present url: "https://api.meraki.com/api/v1/networks/{{ nid }}/appliance/firewall/portForwardingRules"
networkId: "{{ nid }}" method: PUT
purge: false headers:
X-Cisco-Meraki-API-Key: "{{ lookup('ansible.builtin.env', 'MERAKI_DASHBOARD_API_KEY') }}"
Content-Type: application/json
body_format: json
body:
rules: rules:
- name: NAS HTTP - name: NAS HTTP
uplink: internet1 uplink: internet1