aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-21 16:25:28 +0100
committerbinary <me@rgoncalves.se>2020-11-21 16:25:28 +0100
commit03d26396dd59823c737876c1aa1246832052de01 (patch)
tree9a3a26d576ab411ae6308444de1ee68be1cd5df6 /roles
parentaab7c2168fba94a0b5ffbd997a8d6e4dea6361ce (diff)
downloadinfrastructure-03d26396dd59823c737876c1aa1246832052de01.tar.gz
Add extra packages for per-distro options.
Diffstat (limited to 'roles')
-rw-r--r--roles/tools/tasks/main.yml1
-rw-r--r--roles/tools/vars/main.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml
index f622ef6..1e9cabb 100644
--- a/roles/tools/tasks/main.yml
+++ b/roles/tools/tasks/main.yml
@@ -21,6 +21,7 @@
loop:
- "{{ packages.sshfs }}"
- "{{ packages.wireguard }}"
+ - "{{ packages.extra if packages.extra is defined }}"
ignore_errors: true
- name: install misc utils
diff --git a/roles/tools/vars/main.yml b/roles/tools/vars/main.yml
index 2d4da79..7876681 100644
--- a/roles/tools/vars/main.yml
+++ b/roles/tools/vars/main.yml
@@ -8,6 +8,7 @@ packages:
alpine:
sshfs: "sshfs"
wireguard: "wireguard-lts wireguard-tools ip6tables"
+ extra: "shadow"
debian:
sshfs: "sshfs"
remember that computers suck.