From 4d201e479aceef762d28d3cf418614281e43345c Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Mon, 2 Dec 2024 07:56:00 +0100 Subject: [PATCH] #107 / #108 - set sane defaults for opn_vlans --- tasks/vlans.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/vlans.yml b/tasks/vlans.yml index c8c77d9..1348fd7 100644 --- a/tasks/vlans.yml +++ b/tasks/vlans.yml @@ -18,7 +18,7 @@ - name: vlans - process vlans ansible.builtin.include_tasks: vlansdo.yml with_items: - - "{{ opn_vlans }}" + - "{{ opn_vlans | default([]) }}" loop_control: label: "{{ _vlan.tag }}" loop_var: _vlan