aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/defaults/main.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-10 18:30:32 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-10 21:52:55 +0000
commitc1c300aa21b407351e6045c7b40480d4120db8a7 (patch)
tree48ac6715e649326d02dad7011b31c091db29b7b3 /roles/wireguard/defaults/main.yml
parent2fe1965dbb4cc650fda2b00e69219ac7ae403674 (diff)
downloadrules-c1c300aa21b407351e6045c7b40480d4120db8a7.tar.gz
roles: Generate + deploy wireguard configurations
Diffstat (limited to 'roles/wireguard/defaults/main.yml')
-rw-r--r--roles/wireguard/defaults/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/wireguard/defaults/main.yml b/roles/wireguard/defaults/main.yml
new file mode 100644
index 0000000..2275c05
--- /dev/null
+++ b/roles/wireguard/defaults/main.yml
@@ -0,0 +1,8 @@
+wireguard_dir: /etc/wireguard
+wireguard_local_dir: "{{ inventory_dir }}/files/secrets/wireguard"
+wireguard_local_keys: "{{ inventory_hostname }}.keys"
+wireguard_local_configuration: "{{ inventory_hostname }}.conf"
+
+wireguard_domain_controller: null
+wireguard_persistent_keepalive: 10
+wireguard_port: 53
remember that computers suck.