---
- name: Install ranger
  become: true
  package:
    name: ranger
    state: installed

- name: Symlink rifle config
  file:
    src: "{{ role_path }}/files/rifle.conf"
    dest: "~/.config/ranger/rifle.conf"
    state: link

---
- name: Install ranger
  become: true
  package:
    name: ranger
    state: installed

- name: Create ranger config directory
  file:
    path: "~/.config/ranger"
    state: directory

- name: Symlink rifle config
  file:
    src: "{{ role_path }}/files/rifle.conf"
    dest: "~/.config/ranger/rifle.conf"
    state: link

Fix ranger role config directory
Fix ranger role config directory

Adds a task that creates the config directory for ranger. This is
required for the config task.
