Do not use `systemd_service` which is missing
Change-Id: Ibe3a3779780351421d5ff36d80cb7da952ebe681
diff --git a/playbooks/workarounds/01-disable-unattended-upgrades.yaml b/playbooks/workarounds/01-disable-unattended-upgrades.yaml
index 482c082..4153f44 100644
--- a/playbooks/workarounds/01-disable-unattended-upgrades.yaml
+++ b/playbooks/workarounds/01-disable-unattended-upgrades.yaml
@@ -4,7 +4,5 @@
# `apt` fail with a variation of:
# E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 7929 (unattended-upgr)
- name: Stop and disable the service unattended-upgrades
- ansible.builtin.systemd_service:
- state: stopped
- enabled: no
- name: unattended-upgrades
\ No newline at end of file
+ ansible.builtin.command: systemctl disable --now unattended-upgrades
+ ignore_errors: true
\ No newline at end of file