From ce6de7bbc5cf8c98eea029cdf291fad59c8760e7 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Wed, 1 Jan 2020 10:28:29 +1100 Subject: [PATCH] some packages need to be installed before first run --- roles/common/tasks/packages.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/common/tasks/packages.yml b/roles/common/tasks/packages.yml index 89cf349..629a4d7 100644 --- a/roles/common/tasks/packages.yml +++ b/roles/common/tasks/packages.yml @@ -1,5 +1,17 @@ # Install our baseline packages for all machines, irrespective of what role they might have --- +- name: Install bootstrap packages + apt: + name: "{{ packages }}" + state: present + update_cache: yes + vars: + packages: + - ansible + - python3 + - python3-apt + - gpg + - name: Add Thunix Repo apt_key: url: http://deb.thunix.net/release.key