summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/devices_switch_routing_interfaces.yml
blob: 2163ea214a129332b2f04eb36b5e001b940ccfff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
- hosts: localhost
  gather_facts: false
  tasks:
  - name: Create
    cisco.meraki.devices_switch_routing_interfaces:
      meraki_suppress_logging: true
      state: present
      defaultGateway: 192.168.1.1
      interfaceIp: 192.168.1.2
      # ipv6:
      #   address: 1:2:3:4::1
      #   assignmentMode: static
      #   gateway: 1:2:3:4::2
      #   prefix: 1:2:3:4::/48
      # multicastRouting: disabled
      name: L3 interface
      # ospfSettings:
      #   area: '0'
      #   cost: 1
      #   isPassiveEnabled: true
      # ospfV3:
      #   area: '1'
      #   cost: 2
      #   isPassiveEnabled: true
      serial: L_828099381482770866
      # subnet: 192.168.1.0/24
      # vlanId: 100