From a0f0f12b7a1c9bcb99c79e2b2419a195f8a46958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20B=C3=B6hm?= Date: Sat, 5 Jun 2021 15:57:09 +0200 Subject: [PATCH] Fix for empty peers --- tasks/profile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/profile.yml b/tasks/profile.yml index a7f26b1..1139a6c 100644 --- a/tasks/profile.yml +++ b/tasks/profile.yml @@ -15,7 +15,7 @@ mode: u=rwx,g=rx,o=rx - include_tasks: profile-peers.yml - loop: "{{ profile.value.peers |dict2items }}" + loop: "{{ profile.value.peers |d({}) |dict2items }}" loop_control: loop_var: peer register: peer_config