This commit is contained in:
14
config.yaml
14
config.yaml
@@ -60,9 +60,9 @@
|
||||
state: present
|
||||
applianceIp: "192.168.{{ item.id }}.1"
|
||||
# cidr: "192.168.{{ item.id }}.0/24"
|
||||
id: '{{ item.id }}'
|
||||
vlanId: {{ item.id }}
|
||||
name: {{ item.name }}
|
||||
id: "{{ item.id }}"
|
||||
vlanId: "{{ item.id }}"
|
||||
name: "{{ item.name }}"
|
||||
networkId: "{{ nid }}"
|
||||
subnet: "192.168.{{ item.id }}.0/24"
|
||||
loop: vlans
|
||||
@@ -70,8 +70,8 @@
|
||||
- name: Enable DHCP on Relevant VLANs
|
||||
cisco.meraki.networks_appliance_vlans:
|
||||
state: present
|
||||
id: '{{ item.id }}'
|
||||
vlanId: {{ item.id }}
|
||||
id: "{{ item.id }}"
|
||||
vlanId: "{{ item.id }}"
|
||||
dhcpHandling: "Run a DHCP server"
|
||||
dhcpLeaseTime: "1 day"
|
||||
dnsNameservers: |
|
||||
@@ -83,8 +83,8 @@
|
||||
- name: Disable DHCP on Relevant VLANs
|
||||
cisco.meraki.networks_appliance_vlans:
|
||||
state: present
|
||||
id: '{{ item.id }}'
|
||||
vlanId: {{ item.id }}
|
||||
id: "{{ item.id }}"
|
||||
vlanId: "{{ item.id }}"
|
||||
dhcpHandling: "Do not respond to DHCP requests"
|
||||
loop: vlans
|
||||
when: not item.dhcp
|
||||
|
||||
Reference in New Issue
Block a user