2023-12-19 13:33:02 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
# 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
|
2023-12-19 14:00:23 +00:00
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
# autoremove packages , remove unused dependency packages
|
|
|
|
- name: autoremove packages
|
|
|
|
ansible.builtin.apt:
|
|
|
|
autoremove: true
|
2023-12-19 13:33:02 +00:00
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|