upgrade hosts

This commit is contained in:
Jean-Marie Mineau 2021-01-27 13:35:28 +01:00
parent ea649b6e02
commit d6a3d8a71e

View file

@ -1,7 +1,7 @@
--- ---
- name: Install and update basic tools - name: Install and update basic tools
apt: apt:
update_cache: true update_cache: yes
name: name:
- sudo - sudo
- vim - vim
@ -21,6 +21,11 @@
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded
- name: Upgrade all package
apt:
update_cache: yes
upgrade: dist
- name: Customize motd - name: Customize motd
copy: copy:
src: "update-motd.d/{{ item }}" src: "update-motd.d/{{ item }}"