Hi, I’m following the Ansible setup instructions located here: https://github.com/LemmyNet/lemmy-ansible

When I run the ansible-playbook command, I get this error. It’s very long and hard to read, but I think the error is related to nginx:

https://pastebin.com/VKvzHYad

Also, here’s the output on my target machine when I check nginx status:

https://pastebin.com/JfkCA5kL

Any ideas on what I should do? After doing some Googling and asking ChatGPT, it looks like my issue might have something to do with IPv6 compatibility or something like that. Unfortunately I’m not very knowledgeable about networking stuff, so I’m not sure how to identify or fix the issue.

SOLUTION:

I solved the problem by commenting out the line listen [::]:80 in templates/nginx.conf, and also commenting out the same line on the target server in /etc/nginx/sites-available/default.