Introduction to Ansible Transcripts
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. Okay, so in this case, we didn't even get to where we were
0:18 with the new git task. Let's disable this for now and test the new git tasks in our playbook. And we can do this with setting a conditional.
0:33 Let's try this one more time. Okay, and we had a typo in there so we did not separate home and deployer. Let's open that file back up.
0:50 Okay, so the issue here is a typo. The destination here should have home and then deployer and then the Git deploy key. Let's try this one more time.
1:14 All right, so the way we can check whether this worked or not, SSH into our server. Now we can see that we have our code on the server.
1:32 And it was pulled down from Full Stack Python Flask Git dashboard. Okay, now we can go ahead and start setting up our application dependencies
1:40 and then we'll be able to run our WSGI server.