23 lines
503 B
YAML
23 lines
503 B
YAML
---
|
|
|
|
- name: Clear old config
|
|
ansible.builtin.file:
|
|
state: absent
|
|
path: /home/max/.config/ranger
|
|
|
|
- name: Configure ranger, by pushing the config
|
|
ansible.builtin.copy:
|
|
src: "{{ role_path }}/files/ranger_config/"
|
|
dest: /home/max/.config/ranger
|
|
owner: max
|
|
group: max
|
|
mode: u=rw,g=r,o-rwx
|
|
|
|
- name: Make sure ~/.config/ranger/scope.sh is executable
|
|
ansible.builtin.file:
|
|
path: /home/max/.config/ranger/scope.sh
|
|
owner: max
|
|
group: max
|
|
mode: u=rwx,g=rx,o-rwx
|
|
|