CHANGE: replaces explicit username with a variable
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
- name: Clear old Neovim config
|
||||
ansible.builtin.file:
|
||||
state: absent
|
||||
path: /home/max/.config/nvim
|
||||
path: "/home/{{ human_admin_user }}/.config/nvim"
|
||||
|
||||
- name: Configure neovim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/nvim_config/"
|
||||
dest: /home/max/.config/nvim
|
||||
owner: max
|
||||
group: max
|
||||
dest: "/home/{{ human_admin_user }}/.config/nvim"
|
||||
owner: "{{ human_admin_user }}"
|
||||
group: "{{ human_admin_user }}"
|
||||
mode: u=rw,g=r,o-rwx
|
||||
|
||||
Reference in New Issue
Block a user