Introduction to Ansible Transcripts
Chapter: Deployments
Lecture: Cloning Repositories with the git Module

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's give our new playbook improvements a try.
0:15 Okay, so in this case, we didn't even get to where we were
0:17 with the new git task.
0:19 Let's disable this for now
0:22 and test the new git tasks in our playbook.
0:29 And we can do this with setting a conditional.
0:32 Let's try this one more time.
0:42 Okay, and we had a typo in there
0:43 so we did not separate home and deployer.
0:46 Let's open that file back up.
0:49 Okay, so the issue here is a typo.
0:51 The destination here should have home and then deployer
0:55 and then the Git deploy key.
0:57 Let's try this one more time.
1:13 All right, so the way we can check
1:14 whether this worked or not, SSH into our server.
1:25 Now we can see that we have our code on the server.
1:31 And it was pulled down from Full Stack Python
1:33 Flask Git dashboard.
1:35 Okay, now we can go ahead and start
1:37 setting up our application dependencies
1:39 and then we'll be able to run our WSGI server.