CHANGE: replaces explicit username with a variable
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
- name: Configure vim, by pushing the config
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/.vimrc"
|
||||
dest: /home/max/.vimrc
|
||||
owner: max
|
||||
group: max
|
||||
dest: "/home/{{ human_admin_user }}/.vimrc"
|
||||
owner: "{{ human_admin_user }}"
|
||||
group: "{{ human_admin_user }}"
|
||||
mode: u=rw,g=r,o-rwx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user