Deploy unable to clone git repo

Thanks for the tips @fullyint. I have it working now.

I think I assumed the problem was something to do with ssh forwarding. So I checked my ansible.cfg to ensure it had the ForwardAgent=yes setting.

It seemed to be the addition of the ssh key to the keychain was the step I needed to do:

/usr/bin/ssh-add -K yourkey

Now that my key is in there, the deploys are working. I found the detail of this in this thread. If you are on OSX then it makes sense to do this.

Just one other thing (this may not be a deploy issue), when I do my deployment, and then check the staging url, the page doesn’t render. However I can go into wp-admin and then view the site from there, after that it works fine. Is this normal for a deploy?