summaryrefslogtreecommitdiff
path: root/roles/wireguard
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-01-06 03:53:40 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-01-06 03:53:40 +0100
commit1165f73203876ce3fb886ca2dc5573cab7ca871f (patch)
tree0ca970c3e67d598cbba4b62f2e5925e22b20037c /roles/wireguard
parentadded role to prepare host scaleway hosts for dkms (diff)
added wireguard as dep for kubernetes-net
Diffstat (limited to 'roles/wireguard')
-rw-r--r--roles/wireguard/meta/main.yml3
-rw-r--r--roles/wireguard/tasks/main.yml8
2 files changed, 11 insertions, 0 deletions
diff --git a/roles/wireguard/meta/main.yml b/roles/wireguard/meta/main.yml
new file mode 100644
index 00000000..7ffc16ea
--- /dev/null
+++ b/roles/wireguard/meta/main.yml
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - role: spreadspace-apt-repo
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
new file mode 100644
index 00000000..3dc63e64
--- /dev/null
+++ b/roles/wireguard/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+- name: install wireguard packages
+ apt:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - wireguard-dkms
+ - wireguard-tools