22 lines
393 B
YAML
22 lines
393 B
YAML
|
#SPDX-License-Identifier: BSD-3-Clause
|
||
|
---
|
||
|
|
||
|
- name: Update apt cache
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
|
||
|
- name: Update existing packages to latest version
|
||
|
ansible.builtin.apt:
|
||
|
name: "*"
|
||
|
state: latest
|
||
|
notify:
|
||
|
- Reboot Server
|
||
|
|
||
|
- name: Upgrade the OS (apt-get dist-upgrade)
|
||
|
ansible.builtin.apt:
|
||
|
upgrade: dist
|
||
|
notify:
|
||
|
- Clean apt cache
|
||
|
- Reboot Server
|
||
|
|