Hi All, The following role is failing with access_denied when running from Ansible Tower....
- win_whoami: - name: Get the package from the artifactory win_uri: url: "{{ artifactory_path }}/{{ this_artifact.value.name }}/{{ this_artifact.value.version }}/{{ this_artifact.value.package }}" method: GET headers: X-JFrog-Art-Api: "{{ artifactory_api_key }}" dest: 'C:\temp' The error is as follows:- Using module file /usr/lib/python2.7/site-packages/ansible/modules/windows/win_uri.ps1 297 ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 298 EXEC (via pipeline wrapper) 299 fatal:: FAILED! => { 300 "changed": false, 301 "module_stderr": "Exception calling \"Create\" with \"1\" argument(s): \"Access to the path 'C:\\temp' is denied.\"\r\nAt line:264 char:17\r\n+ $file_stream = [System.IO.File]::Create($dest)\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException\r\n + FullyQualifiedErrorId : UnauthorizedAccessException\r\n \r\n\r\n", 302 "module_stdout": "0\r\n0\r\n", 303 "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", 304 "rc": 1 305 } The powershell module appears to be running as the Administrator over WinRM/NTLM and Administrator has write access to the folder so i dont understand. If this is relevant, the C:\temp folder was created earlier in the playbook using the win_file module, Any pointers would be greatly appreciated, Chris. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/84588b77-a8a3-4e63-b54f-35a95848e58e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.