Introduction to Ansible Transcripts
Chapter: Deployments
Lecture: Solving Template File Name Issues

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's run our playbook and see what tweaks we need to make. Okay, so couldn't find the configuration file.
0:20 Let's make sure we named it properly and it needs to be supervisor.j2. And so let's start at this task and see if we can run successfully.
0:44 Okay, we still have an issue with Nginx but it looks like supervisor was configured so now we can log in to our server
0:50 and just see if everything is running on the WSGI server and then we can modify the Nginx side so that it is able to start up successfully
0:57 and serve as our reverse proxy. On our web server, run wget localhost:8000 which is the port that Green Unicorn is running on.
1:11 And if you get this index, that HTML, save and it is what we would expect Nginx to serve as a reverse proxy for.
1:19 Great, so now we've got our WSGI server up and running we can make a few tweaks to our Nginx configuration so that we can get that up and running
1:25 finish out our deployment.

Talk Python's Mastodon Michael Kennedy's Mastodon