From 8953b4e5942445cc8cd87719b485c5bc327a1174 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 16 May 2020 21:16:24 +0200 Subject: [PATCH] improve python-legacy support for centos6 --- tasks/compile_ranger.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/compile_ranger.yml b/tasks/compile_ranger.yml index 6ae249d..acf4ca9 100644 --- a/tasks/compile_ranger.yml +++ b/tasks/compile_ranger.yml @@ -37,6 +37,15 @@ creates: '/usr/local/bin/ranger' 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 become: yes command: python setup.py install --optimize=1