Ansible 1.9.4 : Failed to lock apt for exclusive operation
问题 I bumped into Failed to lock apt for exclusive operation issue: https://github.com/geerlingguy/ansible-role-apache/issues/50 I posted a lot of details in GitHub. I googled a lot of "Failed to lock apt for exclusive operation" Ansible complaints, but no simple answer. Any help? 回答1: I'm also getting this error, while setting up a couple of new boxes. I'm connecting as root , so I didn't think it was necessary, but it is: become: yes Now everything works as intended. 回答2: I know this question