aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/wireguard
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-01-04 08:54:42 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-04 08:54:42 +0100
commit33700d2b70a1f3fbfd412a0483865f930cb2facc (patch)
tree00000aad9d833327b06d43a45078230beef9b8a3 /ansible/roles/wireguard
parent964c059706b2428c547f9c85dde65fc7328643ab (diff)
downloadinfra-33700d2b70a1f3fbfd412a0483865f930cb2facc.tar.gz
infra-33700d2b70a1f3fbfd412a0483865f930cb2facc.tar.bz2
infra-33700d2b70a1f3fbfd412a0483865f930cb2facc.tar.xz
infra-33700d2b70a1f3fbfd412a0483865f930cb2facc.zip
wireguard: Updating DNS records.
Diffstat (limited to 'ansible/roles/wireguard')
-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: |