diff --git a/tasks/symlink.yml b/tasks/symlink.yml index d0542a6..955cf58 100644 --- a/tasks/symlink.yml +++ b/tasks/symlink.yml @@ -1,3 +1,3 @@ --- - name: ANSISTRANO | Change web softlink from current release to previous one - file: state=link path={{ ansistrano_deploy_to }}/{{ ansistrano_current_dir }} src={{ ansistrano_releases_path.stdout }}/{{ ansistrano_previous_release_version.stdout }} + file: state=link path={{ ansistrano_deploy_to }}/{{ ansistrano_current_dir }} src=./{{ ansistrano_version_dir }}/{{ ansistrano_previous_release_version.stdout }}