I am getting an error running the ansible script and this is driving me nuts because it’s failing to connect but I can ssh as root to my host machine just fine:
TASK [Gathering Facts] *******************************************************************************************************************************************************************
task path: /work/setup.yml:2
<104.248.48.204> ESTABLISH NSENTER CONNECTION FOR USER: root
<104.248.48.204> EXEC nsenter --ipc --mount --net --pid --uts --preserve-credentials --target=1 -- /bin/sh -c 'echo ~root && sleep 0'
<104.248.48.204> EXEC nsenter --ipc --mount --net --pid --uts --preserve-credentials --target=1 -- /bin/sh -c 'echo "`pwd`" && sleep 0'
<104.248.48.204> EXEC nsenter --ipc --mount --net --pid --uts --preserve-credentials --target=1 -- /bin/sh -c '( umask 77 && mkdir -p "` echo ~/.ansible/tmp `"&& mkdir "` echo ~/.ansible/tmp/ansible-tmp-1694709402.2142596-283-87600674179632 `" && echo ansible-tmp-1694709402.2142596-283-87600674179632="` echo ~/.ansible/tmp/ansible-tmp-1694709402.2142596-283-87600674179632 `" ) && sleep 0'
fatal: [matrix.domain_redacted.org]: UNREACHABLE! => changed=false
I’ve never tried running an ansible container to install dependencies so I at a bit of a loss as to where to look to resolve the connection issue. The domain is setup in cloudflare with the proxy set to bypass and I can shell in no problem.
I got it figured out and its all working!! Woohoo! [matrix didn’t like my passwords so i picked different ones and it worked]