Open billwheatley opened 2 years ago
Also having this happen on some roles, re-try logic there would help
there is a discussion of workarounds and potential Ansible side fixes (but fixes are not clear since comments got locked) https://github.com/ansible/ansible/issues/16593
Sometimes Aptitude lock is not released between tasks in PopOS playbooks. I notice this most often on fresh installs after updating existing packages and when moving on to the next task that ensures additional packages are installed. There maybe some other background process on the host that grabs the lock after the update task.
I believe some re-try logic could be added to avoid the playbooks bombing.