Thanks for posting the verbose output. It shows that your change to known_hosts: []
made a difference. Compared to your initial post, the Add known_hosts
task no longer fails (no longer does anything).
The latter part of this post links a few threads on updating trellis, but I don’t think an update is required to fix the new/latest issue appearing in your verbose output.
I think you’ll be on your way if you heed the verbose output’s advice:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
...
Offending RSA key in /home/web/.ssh/known_hosts:5
remove with:
ssh-keygen -f "/home/web/.ssh/known_hosts" -R gitlab.iteratemarketing.com
Run that command on the server then try the deploy again.