Files
system-upgrade/local-upgrade.yaml
2025-07-15 18:36:35 +02:00

16 lines
296 B
YAML

- hosts: 127.0.0.1
connection: local
gather_facts: yes
become: true
tasks:
- name: update respository index
ansible.builtin.apt:
update_cache: yes
# upgrade: safe
upgrade: full
- name: Run the equivalent of "apt clean"
ansible.builtin.apt:
clean: yes