Use basename to get the file
This commit is contained in:
parent
66f788994c
commit
52f4b906b0
@ -11,7 +11,7 @@
|
|||||||
become: true
|
become: true
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "/home/dokku/{{ app }}/nginx.conf.d/{{ item }}"
|
dest: "/home/dokku/{{ app }}/nginx.conf.d/{{ item | basename }}"
|
||||||
owner: dokku
|
owner: dokku
|
||||||
group: dokku
|
group: dokku
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
|
Reference in New Issue
Block a user