Closed vraravam closed 6 years ago
Can you add the full playbook?
This looks like an APT problem however. I remember that some of the first (public) Ubuntu 16.04 VM's had a similar problem.
I was able to use become: yes
when defining the dependency on the role, thus, all the steps inside of your role definition were run in sudo
mode. Problem solved. Tx for the quick turnaround.
My pleasure
As per the docs, I have put the following in the group_vars yml file:
But, I keep getting the following error:
I thought that it might be related to some kind of apt process locking the db, but even after a reboot of the VM, I keep getting the same error. When I ssh into the box, I can do
apt-update
without any problems.