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