Closed axelrindle closed 2 years ago
I got it working.
I found out that the variable {{ ansistrano_release_path }}
is set in the update-code
stage. So it's not available until after-code-update
.
You should definitely update your documentation accordingly.
This is my playbook:
before-code-update.yml
:And here is the output:
The pretty-formatted error message:
It works without the custom hooks, but then the app does not function. What am I doing wrong?