By default installation files create in C:\Program Files\Python37 folder.

i need C:\Python37

This is my playbook.

---
### python setup
- name: copying python
  win_copy:
    src: files/python.exe
    dest: C:\python.exe
#  when: "'aiservice' in group_names"

- name: Install Python
  win_shell: C:\python.exe Include_tcltk=0 InstallAllUsers=1 /quiet 
/norestart TARGETDIR=C:\Python37 --wait
#  when: "'aiservice' in group_names"


regards,
Rahul 

On Thursday, January 9, 2020 at 12:46:06 PM UTC+5:30, Rahul Rawat wrote:
>
> Hi,
>
> What parameter should we use to install .exe on desired location. Means in 
> root of C drive not in Program Files
>
> regards,
> Rahul 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9c2b2d3c-e96f-40cf-922d-ad69c4e560fd%40googlegroups.com.

Reply via email to