Debian Codegraph @

ansible_collections/cisco/meraki/playbooks/ms_playbook.yml

raw symbols SCIP
1 - name: Play Name
2 hosts: localhost
3 vars:
4 network_id: L_828099381482770866
5 serial_number: QBSB-D5ZD-9CXT
6 gather_facts: false
7 tasks:
8 - name: Update STP settings
9 cisco.meraki.networks_switch_stp:
10 networkId: "{{ network_id }}"
11 rstpEnabled: true
12 stpBridgePriority:
13 - stpPriority: 4096
14 switches:
15 - "{{ serial_number }}"
16 - name: Update switch settings
17 cisco.meraki.networks_switch_settings:
18 networkId: "{{ network_id }}"
19 useCombinedPower: true
20 vlan: 1
21 - name: Update storm-control settings
22 cisco.meraki.networks_switch_storm_control:
23 networkId: "{{ network_id }}"
24 broadcastThreshold: 30
25 multicastThreshold: 30
26 unknownUnicastThreshold: 30
27 - name: Update MTU settings
28 cisco.meraki.networks_switch_mtu:
29 networkId: "{{ network_id }}"
30 defaultMtuSize: 9578
31 - name: Createa a routing interface
32 cisco.meraki.devices_switch_routing_interfaces:
33 defaultGateway: 192.168.1.1
34 interfaceIp: 192.168.1.2
35 name: L3 interface
36 serial: "{{ serial_number }}"
37 subnet: 192.168.1.0/24
38 vlanId: 123
39 - name: Create a static route
40 cisco.meraki.devices_switch_routing_static_routes:
41 serial: "{{ serial_number }}"
42 name: My route
43 nextHopIp: 192.168.1.100
44 subnet: 1.2.3.0/24
45 - name: Create a static route2
46 cisco.meraki.devices_switch_routing_static_routes:
47 serial: "{{ serial_number }}"
48 name: My route
49 nextHopIp: 192.168.1.100
50 subnet: 1.2.3.0/24
51 - name: Port cycle
52 cisco.meraki.devices_switch_ports_cycle:
53 serial: "{{ serial_number }}"
54 ports:
55 - 1
56 - 4-5
57 - 25-48