On 4/9/20 2:30 PM, Kumaresh kulal wrote: > 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?
If you would mind to read the error message thoroughly ... it says that the
access is not allowed.
So the direct link copied from your browser doesn't work.
Regards
Racke
>
> 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]
> <mailto:[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
> <https://groups.google.com/d/msgid/ansible-project/36ffc662-67ad-4f84-975a-4a12ee0af7ef%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
--
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/bd0472ab-3260-7f2c-5760-3a0f82b3c0d8%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
