dn42-ansible/upgrade.yml
2024-11-21 15:57:14 -08:00

9 lines
228 B
YAML

- hosts: all
remote_user: root
tasks:
- name: upgrade debian systems
ansible.builtin.apt:
update_cache: yes
upgrade: dist
cache_valid_time: 3600
when: ansible_distribution == 'Debian'