aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-01-05 17:25:39 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-01-05 17:27:38 +0100
commitd5d3298c2f593d1d4f69d26cebe74640036b2187 (patch)
tree7f522420915507e42e430025d209e927b3ce9e88 /roles
parent631304b336c0c312fbc201523c0d8e658c05a2ad (diff)
downloadrules-d5d3298c2f593d1d4f69d26cebe74640036b2187.tar.gz
feat(roles/toolbox): install small programms like mosh
Diffstat (limited to 'roles')
-rw-r--r--roles/toolbox/defaults/main.yml5
-rw-r--r--roles/toolbox/meta/main.yml12
-rw-r--r--roles/toolbox/tasks/main.yml6
3 files changed, 23 insertions, 0 deletions
diff --git a/roles/toolbox/defaults/main.yml b/roles/toolbox/defaults/main.yml
new file mode 100644
index 0000000..fd82e1b
--- /dev/null
+++ b/roles/toolbox/defaults/main.yml
@@ -0,0 +1,5 @@
+---
+
+toolbox__packages:
+ - mosh
+ - rsync-3.2.7p1
diff --git a/roles/toolbox/meta/main.yml b/roles/toolbox/meta/main.yml
new file mode 100644
index 0000000..5f41ed3
--- /dev/null
+++ b/roles/toolbox/meta/main.yml
@@ -0,0 +1,12 @@
+---
+
+argument_specs:
+ main:
+ short_description: toolbox main entrypoint.
+ options:
+
+ toolbox__packages:
+ type: list
+ elements: str
+ required: true
+ description: Rescue and administration packages
diff --git a/roles/toolbox/tasks/main.yml b/roles/toolbox/tasks/main.yml
new file mode 100644
index 0000000..c024378
--- /dev/null
+++ b/roles/toolbox/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+
+- name: install rescue and administration packages
+ ansible.builtin.package:
+ name: "{{ toolbox__packages }}"
+ state: present
remember that computers suck.