I got following to update vmware tools on windows vm
it updates the tools successfully but not sure why its giving a failed status error
TASK [Install Vmware tools Silent] ***************************************************************************************************************************************************************************************************
task path: /home/tony/windows/download2.yml:15
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/windows/win_command.ps1
Pipelining is enabled.
<rw-ctxapp-02.xxx.xxx> ESTABLISH WINRM CONNECTION FOR USER: adm...@xxx.xxx on PORT 5986 TO rw-ctxapp-02.xxx.xxx
EXEC (via pipeline wrapper)
fatal: [rw-ctxapp-02.xxx.xxx]: FAILED! => {
"changed": true,
"cmd": "C:\\temp\\VMware-tools-11.1.0-16036546-x86_64.exe /S /v \"/qn REBOOT=R ADDLOCAL=ALL REMOVE=Hgfs\"",
"delta": "0:02:31.265796",
"end": "2020-07-06 03:17:27.895492",
"msg": "non-zero return code",
"rc": 3010,
"start": "2020-07-06 03:14:56.629695",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
PLAY RECAP ***************************************************************************************************************************************************************************************************************************
rw-ctxapp-02.xxx.xxx : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0