Fix python role for new installs
This commit is contained in:
parent
7de099449d
commit
8a5d7f48d6
@ -25,7 +25,7 @@
|
||||
register: pip_conf
|
||||
|
||||
- name: remove pip.conf if its a symbolic link
|
||||
when: pip_conf.stat.islnk
|
||||
when: pip_conf.stat.exists and pip_conf.stat.islnk
|
||||
file:
|
||||
state: absent
|
||||
path: ~/.config/pip/pip.conf
|
||||
@ -46,7 +46,7 @@
|
||||
register: ipython_config_py
|
||||
|
||||
- name: remove ipython_conifg.py if its a symbolic link
|
||||
when: ipython_config_py.stat.islnk
|
||||
when: ipython_config_py.stat.exists and ipython_config_py.stat.islnk
|
||||
file:
|
||||
state: absent
|
||||
path: ~/.config/ipython/profile_default/ipython_config.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user