any idea why this is failing? Syntax is right as far as I can tell
TASK [Create Directory if not exist]
****************************************************************************************************
ok: [rw-ctxweb-02.wsgr.com]
ok: [pa-mgt01.wsgr.com]
TASK [Download exe to winbox]
***********************************************************************************************************
fatal: [rw-ctxweb-02.xxxx]: FAILED! => {"changed": false, "msg":
"Unsupported parameters for (win_get_url) module: destination. Supported
parameters include: url_username, proxy_username, client_cert_password,
timeout, checksum_url, checksum_algorithm, method, force_basic_auth,
checksum, http_agent, validate_certs, use_proxy, dest, proxy_password,
headers, proxy_url, proxy_use_default_credential, url_password, url,
follow_redirects, use_default_credential, client_cert, force,
maximum_redirection, user, username, password"}
fatal: [pa-mgt01.xxxxxx]: FAILED! => {"changed": false, "msg": "Unsupported
parameters for (win_get_url) module: destination. Supported parameters
include: url_username, proxy_username, client_cert_password, timeout,
checksum_url, checksum_algorithm, method, force_basic_auth, checksum,
http_agent, validate_certs, use_proxy, dest, proxy_password, headers,
proxy_url, proxy_use_default_credential, url_password, url,
follow_redirects, use_default_credential, client_cert, force,
maximum_redirection, user, username, password"}
PLAY RECAP
******************************************************************************************************************************
pa-mgt01.xxxxx : ok=2 changed=0 unreachable=0 failed=1
skipped=0 rescued=0 ignored=0
rw-ctxweb-02.xxxxx : ok=2 changed=0 unreachable=0 failed=1
skipped=0 rescued=0 ignored=0
tony@ubuntu2:~/windows$ cat download.yml
---
- name: testing win_get_url
hosts: all
tasks:
- name: Create Directory if not exist
win_file:
path: c:\temp
state: directory
- name: Download exe to winbox
win_get_url:
url:
https://packages.vmware.com/tools/esx/6.7u3/windows/x64/VMware-tools-10.3.10-12406962-x86_64.exe
destination: c:\temp\VMware-tools-10.3.10-12406962-x86_64.exe
On Tue, May 19, 2020 at 8:50 AM Jean-Yves LENHOF <[email protected]>
wrote:
> As written in my email : win_get_url module
>
>
> Télécharger BlueMail pour Android <http://www.bluemail.me/r?b=15860>
> Le 19 mai 2020, à 17:42, Tony Wong <[email protected]> a écrit:
>>
>> I am not sure. because curl is not available on windows boxes.
>>
>> On Tue, May 19, 2020 at 8:16 AM Jean-Yves LENHOF <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> Why not using curl on this site or into an internal server synchronized
>>> on this server :
>>>
>>> https://packages.vmware.com/tools/esx/index.html
>>>
>>> For example you have direct executable here :
>>>
>>> https://packages.vmware.com/tools/esx/6.7u3/windows/x64/
>>>
>>> Use win_get_url module and win_command_module should help...
>>>
>>> Using this technique it's up to you to install whatever vmware toolbox
>>> you want....respecting the matrix on the vmware website on host and guest
>>>
>>> (Sometime you can install a vmware tools not available on iso using this
>>> tip but compatible with your guest/host combination)
>>>
>>> Regards,
>>>
>>> JYL
>>>
>>>
>>> Le 19/05/2020 à 15:56, Tony Wong a écrit :
>>>
>>> IS there a playbook or how do i start with installing and upgrading
>>> vmware tools on windows vm
>>>
>>> for VM with no tools installed
>>>
>>> I need to
>>>
>>> 1. mount the vmware tools iso
>>> 2. run the setup64.exe /S /v “/qn REBOOT=R ADDLOCAL=ALL”
>>>
>>>
>>> any idea how to start with this?
>>> --
>>> 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/fe25871a-3987-4430-93a0-805bc40be8ac%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/fe25871a-3987-4430-93a0-805bc40be8ac%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>>> 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/c9857c3e-13b7-5300-1d47-d7b2a5315d99%40lenhof.eu.org
>>> <https://groups.google.com/d/msgid/ansible-project/c9857c3e-13b7-5300-1d47-d7b2a5315d99%40lenhof.eu.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/04e6e6e5-b650-45bb-878a-7c402b085930%40lenhof.eu.org
> <https://groups.google.com/d/msgid/ansible-project/04e6e6e5-b650-45bb-878a-7c402b085930%40lenhof.eu.org?utm_medium=email&utm_source=footer>
> .
>
--
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/CALmkhkrzK_c5Xb%3DQZgBgefDvSpXAES%2BdaHFJFAdkfFjRGUG1sg%40mail.gmail.com.