From 1b762c190d2eda0b675cfaaab0853881f3fab610 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 14 Nov 2022 16:08:37 +0100 Subject: [PATCH 1/2] :sparkles: Install some common packages on all hosts These packages are helpful for administrative tasks --- group-all.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/group-all.yml b/group-all.yml index b3734cc..0660986 100644 --- a/group-all.yml +++ b/group-all.yml @@ -35,6 +35,14 @@ unattended_package_blacklist: [cowsay] unattended_mail: "root" + - name: Install some common software packages + ansible.builtin.apt: + state: present + name: + - molly-guard + - mc + + - name: Setup users include_role: name: users From 1c62788d7f993c95b8ee7701aa419b22428709cc Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 14 Nov 2022 16:09:57 +0100 Subject: [PATCH 2/2] :art: Call users role from roles section There is no need (special arguments, ordering) to call the role from a task. --- group-all.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/group-all.yml b/group-all.yml index 0660986..e840c91 100644 --- a/group-all.yml +++ b/group-all.yml @@ -11,6 +11,7 @@ - role: ansible.timezone vars: ag_timezone: "{{ timezone }}" + - role: users tasks: - name: Update and clean package cache @@ -41,8 +42,3 @@ name: - molly-guard - mc - - - - name: Setup users - include_role: - name: users