Debian Codegraph @

ansible_collections/cisco/meraki/playbooks/Bulk_change_DNS_from_file.yaml

raw symbols SCIP
1 - name: Play Name
2 hosts: localhost
3 gather_facts: false
4 vars:
5 org_id: XXXXXXX
6 tasks:
7 - name: Include vars of devices.yaml into the 'devices' variable
8 ansible.builtin.include_vars:
9 file: devices.yaml
10 name: devices
11 - name: Change DNS management information
12 cisco.meraki.devices_management_interface:
13 state: present
14 serial: "{{ item.value.serial_no }}"
15 wan1:
16 staticDns:
17 - 192.168.20.2
18 - 8.8.8.8
19 loop: "{{ lookup('dict', devices) }}"