Debian Codegraph @

ansible_collections/cisco/meraki/playbooks/networks_appliance_static_routes.yml

raw symbols SCIP
1 - name: networks_appliance_static_routes tests
2 hosts: localhost
3 gather_facts: false
4 vars:
5 network_id: "L_828099381482779330"
6 # route_subnet must be a REMOTE subnet (not assigned to any local VLAN on this MX)
7 # route_gateway must be a next-hop IP reachable via a local VLAN (e.g. a LAN interface IP)
8 route_subnet: "10.254.254.0/24"
9 route_gateway: "192.168.128.1"
10 tasks:
11
12 # -------------------------------------------------------------------------
13 # CREATE
14 # -------------------------------------------------------------------------
15 - name: Create static route
16 cisco.meraki.networks_appliance_static_routes:
17 meraki_suppress_logging: false
18 state: present
19 networkId: "{{ network_id }}"
20 name: "Test static route"
21 subnet: "{{ route_subnet }}"
22 gatewayIp: "{{ route_gateway }}"
23 register: route_created
24
25
26