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_ranger/tasks/main.yml
2021-03-12 23:59:59 +01:00

20 lines
527 B
YAML

---
- name: combine ranger configuration
ansible.builtin.set_fact:
ranger: "{{ _ranger|combine(ranger, recursive=True) }}"
- name: run optional versionscheck
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: install ranger
become: true
ansible.builtin.package:
name: ranger
state: present
register: install_ranger
ignore_errors: true
- name: compile ranger if install failed
ansible.builtin.include_tasks: compile_ranger.yml
when: install_ranger.failed