Failure to establish connection when provisioning via ansible-playbook server.yml

Provisioning vs. deploying. For staging and production, there are two parts to Trellis.

  1. Provisioning. The server.yml playbook performs the basic setup of your server so that it is ready to host your site. Although the server.yml playbook must be run first, before deployment, you won’t need to run it often.
  2. Deployment. The deploy.yml playbook deploys your latest project code from your repo and should be run as often as you have new project code to deploy.

@jajouka I suspect you haven’t followed the “Deploying to remote servers” step in the README.

You’re reporting a new issue unrelated to the SSH connection topic of this thread. If deploying doesn’t resolve the matter, and you’re unable to resolve it by reading the README, docs, and searching discourse, please start a new thread for the new topic.

1 Like