Skip to content

Commit 63b5576

Browse files
committed
To create the symlink one needs to be root
1 parent fa4320b commit 63b5576

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,27 +197,31 @@
197197
##
198198

199199
- name: p24 | Create python_major_version symlink
200+
become: true
200201
file:
201202
src={{ py24_install }}
202203
dest='{{ base_install_folder }}/python{{ py24_major_version }}'
203204
state=link
204205
when: python_24 and py24_already_installed.stat.exists == false
205206

206207
- name: p26 | Create python_major_version symlink
208+
become: true
207209
file:
208210
src={{ py26_install }}
209211
dest='{{ base_install_folder }}/python{{ py26_major_version }}'
210212
state=link
211213
when: python_26 and py26_already_installed.stat.exists == false
212214

213215
- name: p27 | Create python_major_version symlink
216+
become: true
214217
file:
215218
src={{ py27_install }}
216219
dest='{{ base_install_folder }}/python{{ py27_major_version }}'
217220
state=link
218221
when: python_27 and py27_already_installed.stat.exists == false
219222

220223
- name: p35 | Create python_major_version symlink
224+
become: true
221225
file:
222226
src={{ py35_install }}
223227
dest='{{ base_install_folder }}/python{{ py35_major_version }}'

0 commit comments

Comments
 (0)