I am trying to download AIM Client using win_get_url and it is failing. Is 
this the correct win module for downloading the zipped file from internet? 

My playbook:


- name: Download AIM zip

  hosts: all


  tasks:

    - name: Create C:\TEMP directory

      win_file: path='C:\TEMP' state=directory


    - name: Download the AIM  package

      win_get_url:

          url: 
https://adobe.sharepoint.com/sites/PrivilegedAccountManagement/EndUserSupport/AIM%20Client%20Installers/Windows_64x_AIM.zip

          dest: C:\TEMP\Windows_64x_AIM.zip

      register: win_get_url_result


Error:


TASK [Download the AIM  package] 
*************************************************************************************************************************************************************************

fatal:: FAILED! => {"changed": false, "dest": 
"C:\\TEMP\\Windows_64x_AIM.zip", "elapsed": 0.2031516, "msg": "Error 
downloading 
'https://adobe.sharepoint.com/sites/PrivilegedAccountManagement/EndUserSupport/AIM
 
Client Installers/Windows_64x_AIM.zip' to 'C:\\TEMP\\Windows_64x_AIM.zip': 
The remote server returned an error: (403) Forbidden.", "status_code": 403, 
"url": 
"https://adobe.sharepoint.com/sites/PrivilegedAccountManagement/EndUserSupport/AIM%20Client%20Installers/Windows_64x_AIM.zip"}


Thanks in advance


Kumaresh

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/36ffc662-67ad-4f84-975a-4a12ee0af7ef%40googlegroups.com.

Reply via email to