Closed colindaven closed 7 years ago
This was apparently a problem from repeated install attempts on the same machine.
Sections of the nginx config
/etc/nginx/nginx.conf
were duplicated. I removed these, then it complained about the daemon on line 3. Got the nginx webserver restarting ok with status fine (after force killing the running one), but this did not change any of the errors from above.
However, the entire playbook worked fine on another server, so I am closing this.
On an Ubuntu 16.04 server I can consistently get through the playbook without errors. However nginx gives me a permission denied.
I recognize the host IP 172.17.189.25 (own server IP) but not 172.24.2.47, though I can ping it.
I can't imagine the file /root/502.html should be being served - and it does not exist.
I am running the whole playbook as root following a "sudo -i" command.
Any ideas ? Cheers, Colin
Nginx Logs