aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-20 20:58:31 +0100
committerbinary <me@rgoncalves.se>2020-11-20 20:58:31 +0100
commitc7b22c163ea506cc9dd8eeb4812b846b2916f4e6 (patch)
treeace157c406a649dde775ae07619ec8366e618081
parent6daccb2334e97a9f9504039ac914a8b9ce4bb3b9 (diff)
downloadinfrastructure-c7b22c163ea506cc9dd8eeb4812b846b2916f4e6.tar.gz
Add rc role for wireguard.
-rw-r--r--playbooks/network.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml
index 1e8206b..9341072 100644
--- a/playbooks/network.yml
+++ b/playbooks/network.yml
@@ -16,6 +16,14 @@
- hosts: servers
roles:
+
+ - role: rc
+ vars:
+ rc_cmd: "{{ path_wgquick }}"
+ rc_args: "up {{ global.dcontroller }}"
+ rc_name: wireguard
+ rc_user: "{{ user_root }}"
+
- { role: dns }
- { role: sshd }
remember that computers suck.