Hello,

I think you need to allow delegation of credentials in order to avoid the 
'second hop' issue.  See my answer here: 
https://groups.google.com/forum/#!topic/ansible-project/BbKicPxQztI

Hope this helps,

Jon

On Tuesday, November 29, 2016 at 12:05:57 AM UTC, ashish chanda wrote:
>
> Hi,
>
> I am using ansible to create Cluster on windows 2012 R2 Server where i am 
> getting issues like 
> access denied on new cluster command on adding the second node to the 
> cluster.
> I am using kerberos authentication since i needed to login using domain 
> account as opposed to local account. Also i am using PYWINRM to connect.
> s = winrm.Session('192.X.X.X',auth=('[email protected]', 
> 'anything'), transport='kerberos') 
> r = s.run_ps("""New-Cluster -Name mycluster -Node 
> firstcomputer.CORP.LOCAL,secondcomputer.CORP.LOCAL  -StaticAddress 
> 192.X.X.X""")
>
> Please help.
>
> Thanks,
> Ashish 
>

-- 
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/6026a71e-33f4-4983-972f-de7eb6a985c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to