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

12 lines
263 B
YAML

- name: Disable auto update of security packages
hosts: all
become: yes
become_user: root
gather_facts: no
tasks:
- name: Stop and disable systemd timer
systemd:
name: apt-daily-upgrade.timer
state: stopped
enabled: no