Running the server provisioning works and connects fine but when running the deploy script I get the below. Any ideas on what could be wrong? SSH was fine with server provisioning.
Thanks!
PLAY [Ensure necessary variables are defined] **********************************************************************************************************
TASK [Ensure environment is defined] *******************************************************************************************************************
skipping: [localhost]
PLAY [Test Connection] *********************************************************************************************************************************
TASK [connection : Require manual definition of remote-user] *******************************************************************************************
skipping: [...*]
TASK [connection : Specify preferred HostKeyAlgorithms for unknown hosts] ******************************************************************************
skipping: [...*]
TASK [connection : Check whether Ansible can connect as web] *******************************************************************************************
ok: [...* -> localhost]
TASK [connection : Warn about change in host keys] *****************************************************************************************************
skipping: [...*]
TASK [connection : Set remote user for each host] ******************************************************************************************************
skipping: [...*]
TASK [connection : Announce which user was selected] ***************************************************************************************************
skipping: [...*]
TASK [connection : Load become password] ***************************************************************************************************************
skipping: [...*]
PLAY [Deploy WP site] **********************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************
System info:
Ansible 2.3.0.0; Darwin
Trellis at “Remove potentially dangerous db_import
option”
SSH Error: data could not be sent to remote host "...". Make sure
this host can be reached over ssh
fatal: [...**]: UNREACHABLE! => {“changed”: false, “unreachable”: true}
to retry, use: --limit @/Users/aaronpitts/Sites/papayapods/trellis/deploy.retry
PLAY RECAP *********************************************************************************************************************************************
...* : ok=1 changed=0 unreachable=1 failed=0
localhost : ok=0 changed=0 unreachable=0 failed=0