summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/wireguard/base/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/wireguard/base/tasks/main.yml b/roles/wireguard/base/tasks/main.yml
index 6b7cea23..4d60150d 100644
--- a/roles/wireguard/base/tasks/main.yml
+++ b/roles/wireguard/base/tasks/main.yml
@@ -1,4 +1,9 @@
---
+- name: enable spreadspace repo
+ when: (ansible_distribution == 'Debian' and (ansible_distribution_major_version | int) < 11) or (ansible_distribution == 'Ubuntu' and (ansible_distribution_major_version | int) < 20)
+ import_role:
+ name: apt-repo/spreadspace
+
- name: install dkms
import_role:
name: prepare-dkms