Introduction to Ansible Transcripts
Chapter: Deployments
Lecture: Learning Ansible with A Deployment Recap

Login or purchase this course to watch this video and the rest of the course contents.
0:00 So we just got done with deploying our application
0:02 setting up a couple different servers.
0:03 One for a web server, one for a database server.
0:06 We started out by setting up
0:07 our domain name system records on Namecheap
0:10 which then allowed devices to connect to our web server
0:13 using the IP address.
0:14 The web server was able to serve each CPS connections
0:17 because we got a certificate, yeah, let's encrypt.
0:19 Put our source code on our server
0:21 started running an example WSGI server
0:23 installed our application dependencies
0:25 so that our application would run properly
0:26 and then we modified the database configuration
0:28 to set up connections between the web server
0:30 and the database server.
0:31 I want to caveat that if you are
0:33 deploying a real Python web application
0:34 there's a lot more work that would need to be done here.
0:37 The main thing was to use this
0:38 example application and deployment
0:40 to teach you a lot of the tricks and workarounds
0:42 different Ansible modules
0:43 and show how you're not going to get a playbook right
0:45 on the first attempt.
0:46 You're going to have to run it, tweak it
0:48 see what the errors are, prove it over time
0:49 just like you would with any application.
0:51 But then, you'll have your entire deployment stored as code
0:55 and run via Ansible.
0:56 You want all the code for this chapter
0:57 take a look at bit.le/intro-ansible-CH-7.
1:00 The completed version is on there
1:02 so you can play around with these modules
1:03 and hopefully it will inspire you to see
1:06 all of the other fantastic modules
1:08 that are at your disposal when using Ansible.