This is super useful, thank you! I use Ansible on pretty much a daily basis and I didn’t know about deploy_helper before.
I found that building a release in new_release_path during each deploy takes quite some time though, so I switched to cloning into shared_path, building the release there, then copying the release (from _build/prod/rel) into new_release_path. I’m also lazy so I just run mix ecto.migrate --all instead of a custom release task. ![]()






















