Hi,
I’ve recently started updating a kinda outdated project with the Roots setup (still running on Ubuntu 16.04).
I have:
- updated to the latest Trellis version
- created a new droplet (Ubuntu 20.04) on Digital Ocean
- changed hosts to new IP
- provisioned & deployed to new server (with letsencrypt disabled)
This all went smoothly and the new server works but after the DNS change I enabled SSL and try to reprovision and now it fails (with and without SSL) with this error:
Timeout (12s) waiting for privilege escalation prompt:
fatal: [188.166.56.215]: FAILED! => {}
And with -vvv
:
System info:
Ansible 2.9.10; Darwin
Trellis version (per changelog): "Fix #1277 - Disable PHP CLI memory limit"
---------------------------------------------------
Failed to connect to the host via ssh: OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/Username/.ssh/config
debug1: /Users/****/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug2: resolve_canonicalize: hostname **.***.*** is address
debug1: auto-mux: Trying existing master
debug1: Control socket "/Users/Username/.ansible/cp/665d4b4dc7" does not exist
debug2: ssh_connect_direct
debug1: Connecting to **.***.*** [**.***.***] port 22.
debug2: fd 3 setting O_NONBLOCK
debug1: connect to address **.***.*** port 22: Connection refused
ssh: connect to host **.***.*** port 22: Connection refused
fatal: [**.***.***]: UNREACHABLE! => {
"changed": false,
"unreachable": true
}
After this my ssh access gets denied:
Failed to connect to the host via ssh: ssh: connect to host **.***.*** port
22: Connection refused
fatal: [**.***.***]: UNREACHABLE! => {
"changed": false,
"unreachable": true
}
After a while I can access the server with SSH ssh admin@**.***.***
so the SSH access does not seem to be the issue.
Note: the local vagrant box works perfectly fine.
Anyone has had the same problems?