Remove hardcoding of username
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
username: "mike"
|
||||
username: "{{ ansible_user_id }}"
|
||||
|
||||
src_dir: "/usr/local/src"
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
- name: Install config file
|
||||
ansible.builtin.copy:
|
||||
src: sxhkdrc
|
||||
dest: "/home/{{ username }}/.config/sxhkd"
|
||||
dest: "~/.config/sxhkd"
|
||||
|
||||
Reference in New Issue
Block a user