1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ranger.git synced 2024-08-16 14:19:48 +02:00
Ansible role to install the ranger file manager on linux
Find a file
2020-03-16 10:57:39 +01:00
.github Merge branch 'f' into fd 2020-03-14 16:41:30 +01:00
defaults increase version and use ansible env (again) 2020-03-09 17:03:35 +01:00
meta Add galaxy metadata 2020-02-13 15:27:53 +01:00
tasks Fix old variable names 2020-03-04 23:14:05 +01:00
vars increase version and use ansible env (again) 2020-03-09 17:03:35 +01:00
.travis.yml update docs 2020-03-04 23:11:10 +01:00
LICENSE initialize git repository 2020-01-29 12:55:33 +01:00
README.md Merge branch 'f' into fd 2020-03-14 16:41:30 +01:00

Ansible Galaxy Build Status MIT License

role_ranger

Ansible role to install the ranger file manager on linux. ranger is a console file manager with VI key bindings. More info about ranger is available at github.com/ranger/ranger.

What does this role do?

First we try to install ranger with the default package manager. If this fails, we download the ranger git and compile it by ourself (with python 3).
We also could perform a simple versioncheck that will check if a newer version of this role has been executed on this host before. You can enable it by setting submodules_versioncheck to true

How to use this role

You can either use this role via ansible galaxy or use it directly from this git repository.

ansible galaxy

Ansible-Rolle Installieren:

ansible-galaxy install do1jlr.ranger

Example Ansible-Playbook:

---
- hosts: localhost
  roles:
  - do1jlr.ranger

direkt anbinden

Ansible-Rolle clonen:

git clone https://github.com/roles-ansible/role_ranger.git

Example Playbook:

---
- hosts: localhost
  roles:
    - role_ranger
  tags:
   - ranger
  vars:
    submodules_versioncheck: true

Testing

This role is tested with these github-action tests for different versions of differen linux systems. Linting is tested via travis-ci. If you want to find out more about our tests, please have a look at the github marketplace.

test status Github Marketplace
Travis Build Status .travis.yml
Ansible Lint check ansible-lint action
Ansible check debian:stable ansible test with debian stable
Ansible check debian:latest ansible test with debian latest
Ansible check debian:sid ansible test with debian sid
Ansible check debian:buster ansible test with debian buster
Ansible check debian:jessie ansible test with debian jessie
Ansible check debian:stretch ansible test with debian stretch
Ansible check ubuntu:latest ansible test with ubuntu latest
Ansible check ubuntu:bionic ansible test with ubuntu bionic
Ansible check ubuntu:disco ansible test with ubuntu disco
Ansible check ubuntu:eoan ansible test with ubuntu eoan
Ansible check ubuntu:focal ansible test with ubuntu focal
Ansible check ubuntu:trusty ansible test with ubuntu trusty
Ansible check ubuntu:xenial ansible test with ubuntu xenial
Ansible check fedora:latest ansible test with fedora latest

variables

# perform simple versionscheck (true is recomended)
submodules_versioncheck: false

# infos for ranger installation
ranger:
  repo: 'https://github.com/ranger/ranger.git'
  branch: 'master'
  download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}"