From 19a2ff4fe844eaee88cef6da709c4bdf9b459be1 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 16 May 2020 21:02:51 +0200 Subject: [PATCH 1/3] add all missing actions to README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7822cf7..aa6baab 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ example Playbook: Testing ---------- -This role is tested with [these github-action](https://github.com/search?q=topic%3Acheck-ansible+topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories) tests for different versions of differen linux systems. Linting is tested via travis-ci. +This role is tested with [these github-action](https://github.com/search?q=topic%3Acheck-ansible+topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories) tests for different versions of differen linux systems. Linting is tested via travis-ci and the [ansible-lint action](https://github.com/marketplace/actions/ansible-lint). If you want to find out more about our tests, please have a look at the github marketplace. | test status | Github Marketplace | @@ -88,6 +88,10 @@ If you want to find out more about our tests, please have a look at the github m | [![Ansible check fedora:32](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20fedora:32/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+fedora%3A32%22) | [ansible test with fedora 32](https://github.com/marketplace/actions/check-ansible-fedora-32) | | [![Ansible check fedora:31](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20fedora:31/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+fedora%3A31%22) | [ansible test with fedora 31](https://github.com/marketplace/actions/check-ansible-fedora-31) | | | | +| [![Ansible check centos:latest](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20centos:latest/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+centos%3Alatest%22) | [ansible test with centos latest](https://github.com/marketplace/actions/check-ansible-centos-latest) | +| [![Ansible check centos:centos8](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20centos:centos8/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+centos%3Acentos8%22) | [ansible test with centos centos8](https://github.com/marketplace/actions/check-ansible-centos-centos8) | +| [![Ansible check centos:centos7](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20centos:centos7/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+centos%3Acentos7%22) | [ansible test with centos centos7](https://github.com/marketplace/actions/check-ansible-centos-centos7) | +| | | | [![Ansible check alpine:latest](https://github.com/roles-ansible/role_ranger/workflows/Ansible%20check%20alpine:latest/badge.svg)](https://github.com/roles-ansible/role_ranger/actions?query=workflow%3A%22Ansible+check+alpine%3Alatest%22) | [ansible test with alpine latest](https://github.com/marketplace/actions/check-ansible-alpine-latest) | From 49ae207b66ddc871b7289bf46cf9f86d4313884d Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 16 May 2020 21:12:29 +0200 Subject: [PATCH 2/3] improve docs --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aa6baab..1df60bf 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ install role: ansible-galaxy install do1jlr.ranger ``` +You can execute the role **directly via ansible ad-hoc command**, but it is highly recomended to create a ansible playbook +```bash +# example ad-hoc command +ansible -m include_role -a "name=do1jlr.ranger" localhost +``` + Example Ansible-Playbook: ```yml --- @@ -33,13 +39,8 @@ Example Ansible-Playbook: - do1jlr.ranger ``` -You can execute the role directly via ansible ad-hoc commands, but it is highly recomended to create a ansible playbook -```bash -# example ad-hoc command -ansible -m include_role -a "name=do1jlr.ranger" localhost -``` -### use directly +### use via git command clone github repo: ```bash From 8953b4e5942445cc8cd87719b485c5bc327a1174 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 16 May 2020 21:16:24 +0200 Subject: [PATCH 3/3] 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