add basic tools

This commit is contained in:
Jean-Marie Mineau 2020-10-12 09:59:51 +02:00
parent 6b9a499fac
commit e940e80c8e
3 changed files with 25 additions and 0 deletions

5
base.yml Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env ansible-playbook
---
- hosts: all,
roles:
- base_config

3
group_vars/all/vars.yml Normal file
View file

@ -0,0 +1,3 @@
---
# Use python 3
ansible_python_interpreter: /usr/bin/python3

View file

@ -0,0 +1,17 @@
---
- name: Install and update basic tools
apt:
update_cache: true
name:
- sudo
- vim
- htop
- ntp
- bash-completion
- less
- screen
- git
state: latest
register: apt_result
retries: 3
until: apt_result is succeeded