Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-26 Thread Tony Wong
any idea? I added state: present and still getting same error fatal: [pa-mgt01.wsgr.com]: FAILED! => { "changed": false, "msg": "unexpected rc from install c:\\temp\\VMware-tools-11.0.5-15389592-x86_64.exe: see rc, stdout and stderr for more details", "rc": 1639,

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-26 Thread Tony Wong
any idea what this error is? TASK [Install Vmware tools Silent] task path: /home/tony/windows/download.yml:15 Using module file

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-26 Thread Tony Wong
Thank you. On Tue, May 26, 2020 at 6:26 AM Stefan Hornburg (Racke) wrote: > On 5/26/20 3:09 PM, Tony Wong wrote: > > any idea why this is failing? Syntax is right as far as I can tell > > > > That tells me that your prowess in reading error messages is somewhat > limited :-). > > As per

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-26 Thread Stefan Hornburg (Racke)
On 5/26/20 3:09 PM, Tony Wong wrote: > any idea why this is failing? Syntax is right as far as I can tell > That tells me that your prowess in reading error messages is somewhat limited :-). As per documentation: use dest parameter instead of destination. Regards Racke > > TASK

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-26 Thread Tony Wong
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]

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-19 Thread Jean-Yves LENHOF
As written in my email : win_get_url module ⁣Télécharger BlueMail pour Android ​ Le 19 mai 2020 à 17:42, à 17:42, Tony Wong 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 > >wrote: > >> Hi, >> >> Why not using curl

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-19 Thread Tony Wong
I am not sure. because curl is not available on windows boxes. On Tue, May 19, 2020 at 8:16 AM Jean-Yves LENHOF 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

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-19 Thread Jean-Yves LENHOF
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

Re: [ansible-project] Vm mount iso and install vmware tools

2020-05-19 Thread Dick Visser
https://docs.ansible.com/ansible/latest/modules/vmware_guest_tools_upgrade_module.html#vmware-guest-tools-upgrade-module On Tue, 19 May 2020 at 15:56, Tony Wong wrote: > > IS there a playbook or how do i start with installing and upgrading vmware > tools on windows vm > > for VM with no tools

[ansible-project] Vm mount iso and install vmware tools

2020-05-19 Thread Tony Wong
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