I believe that ssh is default for Ansible unless otherwise stated. Have you defined that it should use winrm as the connection method for this host anywhere?
On Tue, Jul 25, 2017 at 2:41 PM Suporter <[email protected]> wrote: > wow, good, its runnning but now throwing a weird error ""Failed to connect > to the host via ssh: ssh: connect to host " Why does it take ssh why it is > not using winrm? :( > > > On Monday, July 24, 2017 at 5:17:27 PM UTC+5:30, Suporter wrote: >> >> Hello, >> i ran this >> ansible-playbook setup.yml -i '10.22.212.184,' and i got the error >> message as no hosts matched, the ip i gave should be entered somewhere else >> as inventory file as well? >> >> -- > 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/d64fb323-64ba-4c95-941a-2191a76e60e0%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d64fb323-64ba-4c95-941a-2191a76e60e0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAMuthMc_FQkfKqPCASrGuTueNuey425VJehFk6qtdGhzGjCpfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
