From d5d3298c2f593d1d4f69d26cebe74640036b2187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Fri, 5 Jan 2024 17:25:39 +0100 Subject: feat(roles/toolbox): install small programms like mosh --- roles/toolbox/defaults/main.yml | 5 +++++ roles/toolbox/meta/main.yml | 12 ++++++++++++ roles/toolbox/tasks/main.yml | 6 ++++++ 3 files changed, 23 insertions(+) create mode 100644 roles/toolbox/defaults/main.yml create mode 100644 roles/toolbox/meta/main.yml create mode 100644 roles/toolbox/tasks/main.yml (limited to 'roles') 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 -- cgit v1.2.3