jcloud/jcloud/playbooks/ubuntu-enable-auto-update.yml
2025-04-12 17:39:38 +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