cloud@test01-database:~/machine$ ./deploy.mk do
make --file="deploy.mk" symlink
make[1]: Entering directory '/home/cloud/machine'
if [[ ! -L "./Makefile" ]] || [[ ! "./Makefile" -ef "./docker.mk" ]]; then \
echo "./docker-compose.yaml does not link to ${file}" >&2 ; \
exit 1 ; \
fi
if [[ "production" == "staging" ]]; then \
file="./docker-compose.production.yaml" ; \
else \
file="./docker-compose.production.yaml" ; \
fi && \
if [[ ! -L "./docker-compose.yaml" ]] || [[ ! "./docker-compose.yaml" -ef "${file}" ]]; then \
echo "./docker-compose.yaml does not link to ${file}" >&2 ; \
exit 2 ; \
fi
make[1]: Leaving directory '/home/cloud/machine'
make --file="deploy.mk" dotenv
make[1]: Entering directory '/home/cloud/machine'
docker run --rm --user "1000:1000" --volume "/home/cloud/machine:/mnt" --quiet dotenvlinter/dotenv-linter:4.0.0 diff /mnt/.env "/mnt/.env.production.sample"
Nothing to compare
make[1]: Leaving directory '/home/cloud/machine'
make --file="deploy.mk" setup
make[1]: Entering directory '/home/cloud/machine'
if [ ! -f ./nginx/.htpasswd ] ; then \
sudo touch ./nginx/.htpasswd && \
sudo chmod 644 ./nginx/.htpasswd ; \
fi
./ansible-playbook.sh \
./setup.yaml \
PLAY [Setup Machine] ***********************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [Always set facts from environment variables] *****************************
ok: [localhost]
TASK [Always update package information] ***************************************
[ERROR]: Task failed: Timed out waiting for become success.
Origin: /home/cloud/machine/setup.yaml:89:7
87 tags: always
88
89 - name: Always update package information
^ column 7
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Task failed: Timed out waiting for become success.", "unreachable": true}
PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
make[1]: *** [deploy.mk:53: setup] Error 4
make[1]: Leaving directory '/home/cloud/machine'
make: *** [deploy.mk:32: do] Error 2