some packages need to be installed before first run

This commit is contained in:
fosslinux 2020-01-01 10:28:29 +11:00
parent 051600c0bb
commit ce6de7bbc5
1 changed files with 12 additions and 0 deletions

View File

@ -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