Hello Team, I am trying to install an AV agent on a windows machine and I get this error:
fatal: [10.217.25.55]: FAILED! => { "changed": false, "cmd": "\\[machine]\[path]\Setup.exe <file:///\\acphofavms01\SophosUpdate\CIDs\S002\SAVSCFXP\Setup.exe> -updp "\\[machine name]\ <file:///\\acphofavms01\SophosUpdate\CIDs\S002\SAVSCFXP>[path]" -user "domain\user" -pwd "password" -mng yes -ni", "msg": "Exception calling \"RunCommand\" with \"5\" argument(s): \"Failed to create new process (Access is denied, Win32ErrorCode 5)\"", "rc": 2 } This is the task: - name: Install Sophos Agent win_command: \\[machine]\[path]\Setup.exe <file://acphofavms01/SophosUpdate/CIDs/S002/SAVSCFXP/Setup.exe> -updp "\\[machine name]\ <file://acphofavms01/SophosUpdate/CIDs/S002/SAVSCFXP>[path]" -user "domain\user" -pwd "password" -mng yes -ni args: chdir: c:\Users\Administrator\Installables I have also used psexec to overcome the "access denied" error but psexec doesnt seem to work. The message I get is "psexec exited with error code -1073741502" Any suggestions on how to deal with this? Best, Yash. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0733ed22-d3e9-412d-89ae-f728ed04154c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.