Getting '500 WinRMTransport. [Errno 61] Connection refused' with Ubuntu server

346 views
Skip to first unread message

Peter Daly-Dickson

unread,
Dec 18, 2014, 8:33:32 AM12/18/14
to ansible...@googlegroups.com
I have a playbook that has been working well for developing locally in a vagrant box and deploying to remote staging environment.

Both are Ubuntu environments.

Today, I fired up a new Ubuntu EC2 instance for the production server.

With just port 22 open in the EC2 security group, running the playbook returns...

GATHERING FACTS *************************************************************** 

fatal: [rez-inf-sync.linthwaite.com] => the connection attempt timed out


Allowing all traffic from my IP returns...

GATHERING FACTS *************************************************************** 

fatal: [rez-inf-sync.linthwaite.com] => 500 WinRMTransport. [Errno 61] Connection refused


At one stage we considered deploying to the client's remote Windows server, though it caused too much hassle so we stuck with Ubuntu.

Whilst experimenting with using ansible/Windows I installed pywinrm, which I thought might be causing the above WinRMTransport error.

But with pywinrm uninstalled, I get...

GATHERING FACTS *************************************************************** 

fatal: [rez-inf-sync.linthwaite.com] => winrm is not installed


How do I tell ansible there are no Windows servers anywhere in the mix?

I've done a lot of research and this group is last resort!

Thanks for your help.

Pete


Peter Daly-Dickson

unread,
Dec 18, 2014, 9:10:13 AM12/18/14
to ansible...@googlegroups.com
If it helps, the other EC2 instance in the AWS account, on a separate IP, is a Windows server.

P.

Brian Coca

unread,
Dec 18, 2014, 9:56:43 AM12/18/14
to ansible...@googlegroups.com
sounds like you have connection: winrm somewhere.

--
Brian Coca

Peter Daly-Dickson

unread,
Dec 18, 2014, 2:02:04 PM12/18/14
to ansible...@googlegroups.com
Thanks Brian. 

I'll hunt that down. 

Cheers

P. 


Sent from Mailbox


--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/nlFC4bykvW8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8mXiyKsQ%2BP_rkrrYiOnOV2kaVKxWTX8sYi2E-d64kr1dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Peter Daly-Dickson

unread,
Dec 18, 2014, 2:27:59 PM12/18/14
to ansible...@googlegroups.com
Job done Brian!


Thanks a million.

cheers

P.

On Thursday, 18 December 2014 13:33:32 UTC, Peter Daly-Dickson wrote:
Reply all
Reply to author
Forward
0 new messages