I can confirm this.
I have this issue on ansible 2.0.0.2, but works on ansible 1.9.x
I get this error whicle running a script on a windows host.
In playbook:
- name: set some default settings
script: defaults.ps1
In output:
fatal: [acc-rt1903-sta]: UNREACHABLE! => {"changed": false, "msg": "ERROR!
Authentication or permission failure. In some cases, you may have been able
to authenticate and did not have permissions on the remote directory.
Consider changing the remote temp path in ansible.cfg to a path rooted in
\"/tmp\". Failed command was: PowerShell -NoProfile -NonInteractive
-ExecutionPolicy Unrestricted -EncodedCommand
UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADYAMQA0ADgAOAA1ADAALgAyADMALQAxADQAMgA0ADcAOAA0ADQAOAA1ADMANwA4ADEANAAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwA=,
exited with result 1", "unreachable": true}
--
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/83075aaa-21b9-4793-a87b-c1beb4fdc6f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.