Kerberos will have problems with this. You may switch to basic creds, that 
will probably work.

On Monday, November 9, 2015 at 5:07:31 PM UTC+1, mike od wrote:
>
> I’m trying to run the script module with Kerberos auth on windows to call 
> a powershell script that includes Add-DhcpServerv4Reservation and 
> Add-DnsServerResourceRecord. 
>
> If I set ANSIBLE_KEEP_REMOTE_FILES=1 I can log onto the host and execute the 
> scrip locally with no issue but when using Ansible/winrm it doesn’t have 
> the network access for the second hop to the domain controllers so I get 
> permission denied. 
>
>
> Anyone have an example of passing credentials directly in a ps1?   
> Credssp seems to require a ComputerName but I want to execute these 
> commands on the server that ansible has already connected too.
>
>
> Thanks,
>
> Mike
>
>
>
>

-- 
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/44d19c5e-58aa-4bc2-817f-b12c42a499cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to