From 52f4b906b0e7f0620c830c0295248534e61a87cf Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 14 Apr 2020 11:42:29 +0200 Subject: [PATCH] Use basename to get the file --- plays/postdeploy/lib/nginxd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plays/postdeploy/lib/nginxd.yml b/plays/postdeploy/lib/nginxd.yml index d53ab5a..8583d95 100644 --- a/plays/postdeploy/lib/nginxd.yml +++ b/plays/postdeploy/lib/nginxd.yml @@ -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: