diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-12 00:35:17 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-12 00:35:17 +0200 |
| commit | ef4c876c435a06184c799bc8d403e53a7c0e233a (patch) | |
| tree | 3a342ed45687e412336a9063e829cc5d24251d37 /roles/wireguard/tasks | |
| parent | 7880268ae2d38c7480436aba4cbb38c8b5244711 (diff) | |
Fix looping over wireguard connection dict
Diffstat (limited to 'roles/wireguard/tasks')
| -rw-r--r-- | roles/wireguard/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml index afd8d769..605508c3 100644 --- a/roles/wireguard/tasks/main.yml +++ b/roles/wireguard/tasks/main.yml @@ -26,7 +26,7 @@ group: "root" mode: "0600" backup: true - with_items: "{{ wireguard_connections }}" + with_items: "{{ wireguard_connections.keys() }}" when: wireguard_connections | length > 0 - name: "Configure autostart connection" |
