mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 08:51:37 +01:00
15 lines
362 B
YAML
15 lines
362 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Update apt-get repo and cache
|
|
apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
|
|
- name: Upgrade all apt packages
|
|
apt: upgrade=dist force_apt_get=yes
|
|
- name: Cleanup
|
|
apt:
|
|
autoclean: true
|
|
autoremove: true
|
|
- name: Cleanup shell
|
|
shell: |
|
|
apt autoremove -y
|