new role update and upgrade packages

This commit is contained in:
Ruben Blanco 2023-12-19 14:33:02 +01:00
parent d49df34eb3
commit aee75fd936
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
---
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# update packages
- name: update packages
ansible.builtin.apt:
name: "*"
state: latest
update_cache: true
force_apt_get: true
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# upgrade packages
- name: upgrade packages
ansible.builtin.apt:
upgrade: dist
state: latest
force_apt_get: true
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++