ansistrano / deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
https://ansistrano.com
MIT License
2.37k stars 343 forks source link

symlink-shared use force option. to allow link target not exists #282

Closed cjng96 closed 6 years ago

cjng96 commented 6 years ago

if ansistrano_ensure_basedirs_shared_files_exist=yes and target file no exists, the deplyment always fail if ansistrano_ensure_basedirs_shared_files_exist=no and target file no exists. the deplyment fail too. :-(

ricardclau commented 6 years ago

If it fails, you are doing something wrong in terms of setting src / dest.

So you would end up with something that points somewhere you don't want

Please review permissions and actual full paths in things you are symlinking as you problem will probably be there