Introduction to Ansible Transcripts
Chapter: What's Next
Lecture: What to Investigate Next

Login or purchase this course to watch this video and the rest of the course contents.
0:00 You already know enough
0:01 to handle a lot of scenarios with Ansible
0:03 but here's a few areas for future research
0:05 in case you want to move into more advanced topics.
0:07 Several years ago, writing custom modules was fairly common
0:10 because Ansible didn't have the extensive set
0:13 of well-tested modules that it does today
0:15 so this has actually become less relevant over time.
0:17 But you should still think about
0:19 whether you need to build a custom module
0:21 you can't seem to accomplish something
0:22 with the existing modules
0:23 or you just believe that the existing modules
0:25 don't cover an edge case that you're trying to accomplish.
0:27 With each of these topics
0:28 I've include a Bitly link at the bottom of the page
0:31 so you can learn more about this.
0:33 What's nice about the Ansible documentation
0:34 is that they have a page
0:35 just asking you the question of whether you should develop
0:37 your own module.
0:38 Now, if you develop a module, you can keep it to yourself.
0:41 You don't actually have to contribute it to Core Ansible
0:43 which is primarily what this page is talking about.
0:45 This page of docs does provide a nice thought process
0:48 for figuring out whether you should build a new module.
0:50 Take a look at
0:53 Another advanced topic for future research
0:55 is taking a look at all the modules that exist
0:57 for other hosting providers like AWS
0:59 Google Cloud, OpenShift.
1:01 Each of these cloud-hosting providers
1:03 has their own APIs and backend services.
1:05 If you're already familiar with them
1:06 you'd probably be very comfortable
1:07 with the Ansible modules that exist.
1:09 If you're just trying to get up to speed with AWS
1:11 or Google Cloud or Azure
1:12 you probably want to play around with those services first
1:14 before digging into the Ansible modules.
1:16 I strongly recommend taking a look at the scenario guides
1:18 for hosting providers.
1:19 They also provide context of
1:21 here's how you actually accomplish a deployment on AWS.
1:24 Take a look at
1:27 There's actually a whole set of reusable roles
1:30 that we didn't talk about in this course
1:31 and they're provided at Ansible Galaxy.
1:33 Ansible Galaxy is a hosted service that Ansible provides
1:36 where the community can share roles that they've developed.
1:39 I found this more useful
1:40 to find out how other people are accomplishing things
1:42 rather than taking unedited roles
1:44 because I always want to know what a role is doing
1:46 and what tasks its using
1:48 but there's a lot of really great example code here for you.
1:51 If you take a look at
1:54 And finally, people often ask about
1:55 how they test their playbooks
1:57 and Ansible tries to mitigate the amount of testing
1:59 you need to do by providing a fail-fast approach
2:02 which means that the playbook should just simply stop
2:05 when something errors out.
2:06 That way, you know you have to go in and fix it
2:08 rather than running the entire playbook
2:10 breaking somewhere along the way
2:11 and then taking a while to finish up.
2:13 Still, there are ways to test your playbooks
2:15 so you'll want to take a look at
2:16 the Integrating Testing with Ansible Playbooks
2:18 under Testing Strategies
2:19 found at
2:22 And with that, thank you for joining me
2:23 for the last few hours in this course.
2:25 Hope I was able to show you
2:26 why I really enjoy using this tool.
2:28 I plan to use it for a long time to come
2:30 and how by just writing some little bit of YAML
2:32 set of structured files and directories
2:34 you can quickly configure servers
2:36 and deploy applications with Ansible.
2:38 My name is Matt Makai.
2:39 Thanks for joining me and happy coding.