Files
system-upgrade/local-upgrade.yaml

15 lines
277 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
- name: Run the equivalent of "apt clean"
ansible.builtin.apt:
clean: yes