- name: installation of the package in D drive
  win_package: 
     path: \\Network\\path\\rabbitmq.exe
    arguments: INSTALLDIR="D:\Program Files"

should work. Please post the verbose output here. (use -vvvv)


On Sunday, January 20, 2019 at 7:48:55 PM UTC+5:30, [email protected] wrote:
>
> Hi,
>
> I want to change the new software installation path from C:\ to D:\ but 
> the installation is going to the C:\ drive and the following playbook not 
> worked. The package is at shared network path.
>
>
> - name: installation of the package in D drive
>    win_package: 
>      path: \\Network\\path\\rabbitmq.exe
>      arguments: "INSTALLDIR=D:\Program Files"
>   
>
> Also tried the following
>
> - name: installation of the package in D drive
>   win_package:
>     path: \\Network\\path\\rabbitmq.exe
>     arguments*:*
> *      - /D=D:\\Program Files*
>       - /install
>
>    Can any one help.
>
> Thanks and Regards,
>
> Shyam
>
>
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f2c5aa4f-943c-40c0-b9ec-d5f00914011d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to