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 | 530ebbe17f7432762de487ab19903b346bbd55c1 (patch) | |
| tree | 3a342ed45687e412336a9063e829cc5d24251d37 | |
| parent | ee9ff520f72fb509725fdc5c173d090b5d42efcc (diff) | |
Fix looping over wireguard connection dict
| -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" |
