error running win_command with playbook

I was able to run on cmd prompt but when I run it it hangs .Nothing happens. please let me know how to execute this using playbook.

  • hosts: web-servers
    vars:
    SnapdriveAcc: xxxxx\xxxxxxx
    SnapdrivePW: xxxxxxxx

tasks:

#- name: snapdrive
#win_command: C:\NetApp\02_SnapDrive7.1.4P1_x64.exe
#args:
#stdin: /s /v "/qn SILENT_MODE=1 /Li C:\NetApp\SDInstall.log INSTALLDIR="c:\Program Files\NetApp\SnapDrive" SVCUSERNAME={{SnapdriveAcc}} SVCUSERPASSWORD={{SnapdrivePW}} SVCCONFIRMUSERPASSWORD={{SnapdrivePW}} IGNORE_COMPMGMT_RUNNING=1 SDW_WEBSRV_TCP_PORT=808 SDW_WEBSRV_HTTP_PORT=4094 SDW_WEBSRV_HTTPS_PORT=4095 TRANSPORT_SETTING_ENABLE=1 DFM_SERVER_COMM_PRT_SELECTION=1 DFM_SERVER_COM_PORT=8088 DFM_SERVER_USERNAME={{SnapdriveAcc}} DFM_SERVER_PASSWORD={{SnapdrivePW}} SDW_ESXSVR_ENABLE=0 SDW_SMVISVR_ENABLE=0"

  • name: snapdrive
    win_command:
    path: C:\NetApp\02_SnapDrive7.1.4P1_x64.exe /s /v /qn /Li C:\NetApp\SDInstall.log
    arguments:
    SILENT_MODE: 1
    INSTALLDIR: c:\Program Files\NetApp\SnapDrive
    SVCUSERNAME: “{{SnapdriveAcc}}”
    SVCUSERPASSWORD: “{{SnapdrivePW}}”
    SVCCONFIRMUSERPASSWORD: “{{SnapdrivePW}}”
    IGNORE_COMPMGMT_RUNNING: 1
    SDW_WEBSRV_TCP_PORT: 808
    SDW_WEBSRV_HTTP_PORT: 4094
    SDW_WEBSRV_HTTPS_PORT: 4095
    TRANSPORT_SETTING_ENABLE: 1
    DFM_SERVER_COMM_PRT_SELECTION: 1
    DFM_SERVER_COM_PORT: 8088
    DFM_SERVER_USERNAME: “{{SnapdriveAcc}}”
    DFM_SERVER_PASSWORD: “{{SnapdrivePW}}”
    SDW_ESXSVR_ENABLE: 0
    SDW_SMVISVR_ENABLE: 0

Can you share the actual command line you used on windows.
It looks like you have command line arguments in the ‘path’ of your ‘win_command’ module