This commit is contained in:
21
config.yaml
21
config.yaml
@@ -84,6 +84,23 @@
|
||||
msg: "{{ organizations | json_query('meraki_response[*].name') }}"
|
||||
when: debug
|
||||
|
||||
- name: Get all devices
|
||||
cisco.meraki.devices_info:
|
||||
perPage: 100
|
||||
networkIds:
|
||||
- "{{ nid }}"
|
||||
register: devices
|
||||
|
||||
- name: Update All Device Info
|
||||
cisco.meraki.devices:
|
||||
state: present
|
||||
address: "17 Oakmeadow Drive, St. Mellons, Cardiff, CF3 0EN"
|
||||
lat: "51.52239653227128"
|
||||
lng: "-3.1019189985160116"
|
||||
moveMapMarker: true
|
||||
serial: "{{ item.serial }}"
|
||||
loop: "{{ devices }}"
|
||||
|
||||
- name: Enable Vlans on the MX
|
||||
cisco.meraki.networks_appliance_vlans_settings:
|
||||
state: present
|
||||
@@ -171,8 +188,8 @@
|
||||
cisco.meraki.networks_wireless_ssids:
|
||||
state: present
|
||||
networkId: "{{ nid }}"
|
||||
number: "2"
|
||||
name: Tainton Test WiFi
|
||||
number: "0"
|
||||
name: Tainton WiFi
|
||||
enabled: true
|
||||
authMode: psk
|
||||
defaultVlanId: 35
|
||||
|
||||
Reference in New Issue
Block a user