aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/wireguard/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/wireguard/tasks/main.yml b/ansible/roles/wireguard/tasks/main.yml
index 510492d..80508a7 100644
--- a/ansible/roles/wireguard/tasks/main.yml
+++ b/ansible/roles/wireguard/tasks/main.yml
@@ -78,7 +78,7 @@
PrivateKey={{ wg_private_key['content'] | b64decode }}
ListenPort={{ wireguard__listen_port }}
- {% for c in wireguard__clients %}
+ {% for c in wireguard__clients|sort %}
{% set client = wireguard__clients[c] %}
# Client: {{ c }}
{% if client.state == 'present' %}