This commit is contained in:
21
config.yaml
21
config.yaml
@@ -83,6 +83,23 @@
|
|||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ organizations | json_query('meraki_response[*].name') }}"
|
msg: "{{ organizations | json_query('meraki_response[*].name') }}"
|
||||||
when: debug
|
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
|
- name: Enable Vlans on the MX
|
||||||
cisco.meraki.networks_appliance_vlans_settings:
|
cisco.meraki.networks_appliance_vlans_settings:
|
||||||
@@ -171,8 +188,8 @@
|
|||||||
cisco.meraki.networks_wireless_ssids:
|
cisco.meraki.networks_wireless_ssids:
|
||||||
state: present
|
state: present
|
||||||
networkId: "{{ nid }}"
|
networkId: "{{ nid }}"
|
||||||
number: "2"
|
number: "0"
|
||||||
name: Tainton Test WiFi
|
name: Tainton WiFi
|
||||||
enabled: true
|
enabled: true
|
||||||
authMode: psk
|
authMode: psk
|
||||||
defaultVlanId: 35
|
defaultVlanId: 35
|
||||||
|
|||||||
Reference in New Issue
Block a user