1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- - name: Disable apt timers systemd: name: '{{ item }}' enabled: no state: stopped with_items: - apt-daily.timer - apt-daily-upgrade.timer when: not chroot - name: '- when in chroot' command: 'systemctl disable {{ item }}' with_items: - apt-daily.timer - apt-daily-upgrade.timer when: chroot # vim: set ts=2 sw=2 et: