corrected use of array
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
- name: users | root | copy ~/validate-rsync.sh
|
||||
copy:
|
||||
dest: "{{ getent_passwd[user][4] }}/validate-rsync.sh"
|
||||
dest: "{{ getent_passwd["root"][4] }}/validate-rsync.sh"
|
||||
src: "validate-rsync.sh"
|
||||
mode: "0744"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user