1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ranger.git synced 2024-08-16 14:19:48 +02:00

improve python-legacy support for centos6

This commit is contained in:
L3D 2020-05-16 21:16:24 +02:00
parent 49ae207b66
commit 8953b4e594
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -37,6 +37,15 @@
creates: '/usr/local/bin/ranger' creates: '/usr/local/bin/ranger'
when: not install_python3.failed when: not install_python3.failed
- name: install legacy-python f00
become: true
package:
name:
- python
- python-setuptools
state: present
when: install_python3.failed
- name: install ranger with legacy-python - name: install ranger with legacy-python
become: yes become: yes
command: python setup.py install --optimize=1 command: python setup.py install --optimize=1