aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/wireguard/tasks/main.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/wireguard/tasks/main.yml b/ansible/roles/wireguard/tasks/main.yml
index 80508a7..5330535 100644
--- a/ansible/roles/wireguard/tasks/main.yml
+++ b/ansible/roles/wireguard/tasks/main.yml
@@ -135,8 +135,9 @@
proto: udp
- name: generate dns records
- tags: wireguard-dns-records
- when: wireguard__role == 'server'
+ tags:
+ - wireguard
+ - wireguard-dns-records
local_action:
module: copy
content: |