aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
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.