upgrade hosts
This commit is contained in:
parent
ea649b6e02
commit
d6a3d8a71e
1 changed files with 6 additions and 1 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue