diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-01-05 17:25:39 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-01-05 17:27:38 +0100 |
commit | d5d3298c2f593d1d4f69d26cebe74640036b2187 (patch) | |
tree | 7f522420915507e42e430025d209e927b3ce9e88 /roles | |
parent | 631304b336c0c312fbc201523c0d8e658c05a2ad (diff) | |
download | rules-d5d3298c2f593d1d4f69d26cebe74640036b2187.tar.gz |
feat(roles/toolbox): install small programms like mosh
Diffstat (limited to 'roles')
-rw-r--r-- | roles/toolbox/defaults/main.yml | 5 | ||||
-rw-r--r-- | roles/toolbox/meta/main.yml | 12 | ||||
-rw-r--r-- | roles/toolbox/tasks/main.yml | 6 |
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 |