Use basename to get the file
This commit is contained in:
		| @ -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: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user