aboutsummaryrefslogtreecommitdiffstats
path: root/roles/raspbian/tasks/apt.yml
blob: 2d88800a07a46519b962f058388ea1d8de047eb8 (plain) (blame)
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: