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=(‘Administrator@CORP.LOCAL’, ‘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