Ansible using winn command

Hello,

when I try to run the following command : " C:\tmp\ODAC121021_x64\setup.exe -silent -responseFile C:\tmp\client.rsp " on windows server through command line or power shell it runs well and install odic(oracle client silent) But

when i TRY TO RUN IT through ansible using the below it returns error :

  • name: install oracle silently
    win_command: C:\tmp\ODAC121021_x64\setup.exe -silent -responseFile “C:\tmp\client.rsp”

error :

fatal: [10.1.116.151]: FAILED! => {

“changed”: true,

“cmd”: “C:\tmp\ODAC121021_x64\setup.exe -silent -responseFile "C:\tmp\client.rsp"”,

“delta”: “0:00:38.324188”,

“end”: “2018-10-25 02:54:50.631188”,

“msg”: “non-zero return code”,

“rc”: 259,

“start”: “2018-10-25 02:54:12.306999”,

“stderr”: “”,

“stderr_lines”: ,

“stdout”: “\r\n Exit code of OUI process 259=”,

“stdout_lines”: [

“”,

" Exit code of OUI process 259="

]