Introduction to Ansible Course
Source code and course GitHub repositorygithub.com/fullstackpython/book-and-video-code-examples
What's this course about and how is it different?
Most books and courses only walk you through the narrow happy path through the difficult programming forest. When you step off the path you can feel lost and frustrated because the instructor is no longer there to keep you on track.
This course takes a different approach where I show you the mistakes and errors that you will commonly run into when using Ansible, such as:
- Handling Python 3 instead of 2 as a default remote server installation
- Identifying and fixing typos in command line arguments and file paths
- Tweaking configurations for services that need to start in certain orders
- Upgrading privileges when permissions are denied in running tasks
- Working with Ansible modules that have specific Python dependencies such as psycopg2 for PostgreSQL
- Fixing shell script commands running within Ansible tasks
The best way to learn a new software development library is to pair program with a more experienced developer. That's why most of this course is live coding with explanations of what we are doing and why along the way. View the full course outline for more details.
Learn Ansible by configuring servers and deploying applications
Ansible is a stable, widely-used open source configuration management tool that works amazingly well for application deployments in any programming language, not just Python web apps.
During this course we will build several Ansible playbooks together so we can learn the tool's core concepts including:
- YAML syntax
We'll build playbooks that demonstrate these concepts and connect them together by configuring servers and handling deployments.
Who is this course for?
The ideal student for this course is someone with the ability to create web applications (even simple ones) who wants to learn Ansible and configuration management to automate working with servers and application deployments.
If you don't know any programming at all, you'll want to take a primer first. I recommend you take the free MIT course Introduction to Computer Science and Programming Using Python.
If you don't know Python, consider taking Michael's Python Jumpstart by Building 10 Apps course. You do not need to know Python to learn Ansible but a bit of knowledge will help understand some of the edge case issues we debug in this course.
Concepts backed by concise visuals
An abstract topic like configuration management is best learned with diagrams and visuals to explain how the pieces fit together. Here's an example from chapter 3 when we introduce Ansible's core concepts and show how they relate:
Another example is how our two-server application deployment works as we build our Ansible playbook to automate each step:
Follow along with subtitles and transcripts
Each course comes with subtitles and full transcripts. The transcripts are available as a separate searchable page for each lecture. They also are available in course-wide search results to help you find just the right lecture.
Get hands-on for almost every chapter
Learning IDEs can be hard. There are just so many features. Unless you build that muscle memory with practice, most of them will be forgotten. Mastering PyCharm has hands-on exercises for almost every chapter of the course.
These exercises range in length from 10 minutes to about 30 minutes each.
Who am I? Why should you take my course?
Hey there, my name is Matt Makai, thanks for considering my course! I'm stoked to teach this course for several reasons:
I've been a professional software developer for over 15 years which has shown me how rewarding and empowering it is to create software for your own purposes.
In 2012 I started Full Stack Python as a side project to help junior developers on my team learn how to build web applications with the Python programming language. This course is a natural extension of what is provided on Full Stack Python, with step-by-step instructions so anyone can build their own application even without prior programming experience.
As part of the Twilio Developer Network, it's my goal to inspire and equip fellow software developers. Even if you don't consider yourself a developer, it's absolutely possible to build what you want if you're willing to take some of your own inspiration and put it into learning from hands-on videos that equip you to code.
Free office hours keep you from getting stuck
One of the challenges of self-paced online learning is getting stuck. It can be hard to get the help you need to get unstuck.
That's why at Talk Python Training, we offer live, online office hours. You drop in and join a group of fellow students to chat about your course progress and see solutions via screen sharing.
Just visit your account page to see the upcoming office hour schedule.
Is this course based on Python 3 or Python 2?
This course is based upon Python 3.7. Python 2 now unsupported in 2020, we believe that it would be ill-advised to teach or learn Python 2. Moreover, the latest async features are only available in Python 3.5 or above.
The time to act is now
Learn Ansible to leverage the power of repeatable, declarative server configuration.