Become when running systemctl disable
Change-Id: I577a2c7b0b1b5f7e7766116cf31fba28263af92f
diff --git a/playbooks/workarounds/01-disable-unattended-upgrades.yaml b/playbooks/workarounds/01-disable-unattended-upgrades.yaml
index 4153f44..f82f7d3 100644
--- a/playbooks/workarounds/01-disable-unattended-upgrades.yaml
+++ b/playbooks/workarounds/01-disable-unattended-upgrades.yaml
@@ -4,5 +4,6 @@
# `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.command: systemctl disable --now unattended-upgrades
- ignore_errors: true
\ No newline at end of file
+ become: true
+ ignore_errors: true
+ ansible.builtin.command: systemctl disable --now unattended-upgrades
\ No newline at end of file