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:
parent
49ae207b66
commit
8953b4e594
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue