This repository was archived by the owner on Jun 19, 2021. It is now read-only.
This repository was archived by the owner on Jun 19, 2021. It is now read-only.
"Copy asset files when not changed" creates recursive directory structure #16
Open
Description
ansible-rails-deployment/tasks/main.yml
Line 55 in 79b8c10
- name: copy asset files when not changed
shell: "cp -R {{ current_path }}/public/assets {{ build_path }}/public/assets"
when: compile_assets and assets is defined and not assets.changed
For example, given a current_path
of some_current_dir/
and a build_path
of some_build_dir/
, this seems to create a some_build_dir/public/assets/assets
(notice that it's nested) linking to some_current_dir/public/assets
.
I may be misunderstanding, but isn't this action supposed to link
some_build_dir/public/assets
to
some_current_dir/public/assets
...?
Not to link
some_build_dir/public/assets/assets
to
some_current_dir/public/assets
...?
Thank you for this repo, by the way, it's a huge help!