aboutsummaryrefslogtreecommitdiffstats
path: root/roles/raspbian/tasks/apt.yml
blob: f9a411523118ddb57fac5be0ae40a95d277c4e24 (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|bool

# vim: set ts=2 sw=2 et: