Fix looping
Some checks failed
Deploy / deploy (push) Failing after 36s

This commit is contained in:
2026-02-22 21:12:06 +00:00
parent 96cf3d48fa
commit a653622049

View File

@@ -65,7 +65,7 @@
name: "{{ item.name }}" name: "{{ item.name }}"
networkId: "{{ nid }}" networkId: "{{ nid }}"
subnet: "192.168.{{ item.id }}.0/24" subnet: "192.168.{{ item.id }}.0/24"
loop: vlans loop: "{{ vlans }}"
- name: Enable DHCP on Relevant VLANs - name: Enable DHCP on Relevant VLANs
cisco.meraki.networks_appliance_vlans: cisco.meraki.networks_appliance_vlans:
@@ -77,7 +77,7 @@
dnsNameservers: | dnsNameservers: |
9.9.9.9 9.9.9.9
149.112.112.112 149.112.112.112
loop: vlans loop: "{{ vlans }}"
when: item.dhcp when: item.dhcp
- name: Disable DHCP on Relevant VLANs - name: Disable DHCP on Relevant VLANs
@@ -86,5 +86,5 @@
id: "{{ item.id }}" id: "{{ item.id }}"
vlanId: "{{ item.id }}" vlanId: "{{ item.id }}"
dhcpHandling: "Do not respond to DHCP requests" dhcpHandling: "Do not respond to DHCP requests"
loop: vlans loop: "{{ vlans }}"
when: not item.dhcp when: not item.dhcp