CHANGE: splits update_configs role into app-based files
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user