aboutsummaryrefslogblamecommitdiffstats
path: root/roles/raspbian/tasks/apt.yml
blob: f9a411523118ddb57fac5be0ae40a95d277c4e24 (plain) (tree)
1
2
3
4
5
6




                          
                  








                                         
                   

                        
---
- 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: