jcloude/press/playbooks/ubuntu-enable-auto-update.yml
2025-12-23 19:17:16 +08:00

12 lines
263 B
YAML

- name: Enable auto update of security packages
hosts: all
become: yes
become_user: root
gather_facts: no
tasks:
- name: Start and enable systemd timer
systemd:
name: apt-daily-upgrade.timer
state: started
enabled: yes