blob: 482c082926a22d4b2e2b4760c40b978df48c6396 [file] [log] [blame]
Biser Milanov70bd8662023-12-11 16:28:21 +02001- hosts: all
2 tasks:
3 # Unattended-upgrades sometimes do not complete in time and other parts of the setup that use
4 # `apt` fail with a variation of:
5 # E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 7929 (unattended-upgr)
6 - name: Stop and disable the service unattended-upgrades
7 ansible.builtin.systemd_service:
8 state: stopped
9 enabled: no
10 name: unattended-upgrades