Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Ansible Playbook to install software on desired location
39 views
Skip to first unread message
Rahul Rawat
unread,
Jan 9, 2020, 2:16:06 AM
1/9/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
What parameter should we use to install .exe on desired location. Means in root of C drive not in Program Files
regards,
Rahul
Rahul Rawat
unread,
Jan 9, 2020, 5:14:02 AM
1/9/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages