Ansible 1.9.4 : Failed to lock apt for exclusive operation

前端 未结 8 2442
庸人自扰
庸人自扰 2021-02-18 15:23

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 Gi

8条回答
  •  星月不相逢
    2021-02-18 16:17

    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.

提交回复
热议问题