I create a new user using ansible called nginx, nginx is part of the sudo group a, but when I try to do an apt install with this user I get the below error
: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation"}
What is the cause of the error and how can it be fixed?
I create a new user using ansible called `nginx`, `nginx` is part of the sudo group a, but when I try to do an apt
install with this user I get the below error
: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation"}
What is the cause of the error and how can it be fixed?
Okay, sorry I am new to Ansible and all this is a bit confusing.
How do I set the super password, because now I change it to root, and even though I use the flag --ask-pass and pass in the password I now get the error Missing sudo password
Okay, sorry I am new to Ansible and all this is a bit confusing.
How do I set the super password, because now I change it to root, and even though I use the flag --ask-pass and pass in
the password I now get the error `Missing sudo password`
Hello George,
--ask-pass is for the SSH connection, --ask-become-pass for Sudo password.