ansible-playbooks/update-621.yml

11 lines
253 B
YAML

- hosts: all
become: true
become_user: root
become_method: sudo
tasks:
- name: Upgrade the OS (apt-get dist-upgrade)
ansible.builtin.apt:
upgrade: dist
update_cache: true
autoclean: true
autoremove: true