[base] Deploy basic packages

certbot_on_virtu
Alexandre Iooss 2019-04-22 12:10:58 +02:00
parent 1b970a4c00
commit 30934b7941
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,5 @@
---
# Playbook to deploy common Crans configuration and tools
- hosts: all
roles: [] # TODO
roles:
- common-tools

View File

@ -0,0 +1,14 @@
---
- name: Install common tools
apt:
update_cache: true
name:
- sudo
- molly-guard # prevent reboot
- ntp # network time sync
- apt # better than apt-get
- rsync # backuppc
register: apt_result
retries: 3
until: apt_result is succeeded