I am trying to run remote commands on few servers

ansible -a "df -h" myservers -i hosts -u "user" --assk-pass

this works

but when i do 

ansible -a "sudo systemctl status docker" -i hosts -u "user --ask-pass

then i enter my password

it just hangs

any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c588d43d-40b6-4ba6-9ca7-027bdfe8e95bn%40googlegroups.com.

Reply via email to