I use this command:
ansible all -m ping
with this ansible.cfg
[defaults]
inventory = hosts
and this hosts file:
[all]
dockervm.mshome.net ansible_become=true ansible_become_pass=0000
I get this error:
dockervm.mshome.net | FAILED! => {
"msg": "Missing sudo password"
}
the password is really 0000
, but ansible does not see it, how can I make it work? I have tried '0000'
and "0000"
without success.