From c7b22c163ea506cc9dd8eeb4812b846b2916f4e6 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 20 Nov 2020 20:58:31 +0100 Subject: Add rc role for wireguard. --- playbooks/network.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 } -- cgit v1.2.3