can anyone please respond On Thursday, 1 October 2015 01:54:22 UTC+10, Ankit Sharma wrote: > > Hi, > > I have the following /etc/ansible//hosts file > [servers] > 1.1.1.1 ansible_user=centos > ansible_ssh_private_key_file=keys/1server.pem > > when I issue the following command > > ansible all -vvvv -m setup > It tries to login as root > > however the following works > > ansible all -u centos -vvvv -m setup > > > where am I going wrong? >
-- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e93a661b-ba03-461b-9f5b-a6b11d040c25%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
