From 6dd4b085b4ba0b095308442f2f7acfefa7f49e29 Mon Sep 17 00:00:00 2001 From: Michael Rennecke Date: Sun, 19 Apr 2020 20:58:52 +0200 Subject: [PATCH] install common packages --- roles/common/defaults/main.yaml | 2 +- roles/common/tasks/main.yaml | 2 ++ roles/common/tasks/packages.yaml | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 roles/common/tasks/packages.yaml diff --git a/roles/common/defaults/main.yaml b/roles/common/defaults/main.yaml index e52c7f8..7389138 100644 --- a/roles/common/defaults/main.yaml +++ b/roles/common/defaults/main.yaml @@ -3,4 +3,4 @@ etckeeper_message: "changes from Ansible play running as {{ ansible_user_id }}" -sshd_password_authentication: 'no' \ No newline at end of file +sshd_password_authentication: 'no' diff --git a/roles/common/tasks/main.yaml b/roles/common/tasks/main.yaml index 1647b9d..a4e9bca 100644 --- a/roles/common/tasks/main.yaml +++ b/roles/common/tasks/main.yaml @@ -2,3 +2,5 @@ # Install unattended Upgrades - import_tasks: updates.yaml + +- import_tasks: packages.yaml diff --git a/roles/common/tasks/packages.yaml b/roles/common/tasks/packages.yaml new file mode 100644 index 0000000..0fded82 --- /dev/null +++ b/roles/common/tasks/packages.yaml @@ -0,0 +1,10 @@ +--- + +- name: install packages + apt: + name: + - vim + - htop + - telnet + - python-docker + state: latest