Use basename to get the file

This commit is contained in:
Luke Murphy 2020-04-14 11:42:29 +02:00
parent 66f788994c
commit 52f4b906b0
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,7 +11,7 @@
become: true
template:
src: "{{ item }}"
dest: "/home/dokku/{{ app }}/nginx.conf.d/{{ item }}"
dest: "/home/dokku/{{ app }}/nginx.conf.d/{{ item | basename }}"
owner: dokku
group: dokku
with_fileglob: