system-config/playbooks/apply-package-updates.yaml
2023-03-29 13:35:19 +02:00

9 lines
232 B
YAML

- hosts: "{{ target }}"
user: root
tasks:
- name: Run unattended-upgrade on debuntu
shell: |
unattended-upgrade -d
when: ansible_facts['os_family'] == "Debian"
# TODO add equivalent for other platforms