diff options
author | binary <me@rgoncalves.se> | 2020-11-20 20:58:31 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-20 20:58:31 +0100 |
commit | c7b22c163ea506cc9dd8eeb4812b846b2916f4e6 (patch) | |
tree | ace157c406a649dde775ae07619ec8366e618081 /playbooks | |
parent | 6daccb2334e97a9f9504039ac914a8b9ce4bb3b9 (diff) | |
download | infrastructure-c7b22c163ea506cc9dd8eeb4812b846b2916f4e6.tar.gz |
Add rc role for wireguard.
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/network.yml | 8 |
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 } |