Gear up and get crackin' with awesome Ansible automation skills this year.
This year saw a wide range of really helpful Ansible articles. Whether you are just starting out with Ansible or a seasoned pro, there is something for everyone here to learn from.
A good number of these articles are worthy of your bookmarking and perhaps a cron (or maybe a Tower/AWX job) reminder to reread them periodically.
If you are new to Ansible, start with the following articles:
- A quickstart guide to Ansible has some good starter information as well as deeper dives into more advanced topics
- 10 Ansible modules you need to know and 5 ops tasks to do with Ansible review some of the more fundamental functions that every Ansible admin should be familiar with
- How to use Ansible to document procedures also presents a survey of additional topics you might find it interesting to follow up on
The remainder of these articles cover more advanced topics like Windows management, testing, hardware, cloud, and containers—and even a case study in managing the demands of tech-curious children.
I hope you enjoyed this Ansible year as much as I did. Never stop learning!
- How Ansible brought peace to my home is a whimsical case study in applying Ansible skills to quickly provision new (or rather old) laptops for my children.
- Ansible for the Windows admin by Taz Brown and Abner Malivert: Did you know Ansible can manage Windows nodes as well? This piece reviews basic Ansible server and Windows client setups with an example on how to deploy an IIS server.
- 10 Ansible modules you need to know by Shashank Hegde is a great place to start for some of the most common and basic Ansible modules all admins should know. Running commands, installing packages, and handling files are the basis for many useful automation plays.
- How to use Ansible to document procedures by Marco Bravo: Ansible’s YAML files make for easy reading, so much so that they can be used to document the manual steps needed to accomplish a task. This makes your work easier to debug and extend later on. Also contained in this article are pointers on related topics like testing and analysis.
- Using Testinfra with Ansible to verify server state by Clement Verna: Testing is an integral part of any CI/CD DevOps pipeline, so why not test Ansible’s results as well? This primer on Testinfra can be used to help check the configuration results you need.
- Hardware bootstrapping with Ansible by Mark Phillips: Not all the world is containers and virtual machines. Many of us sysadmins still have significant hardware deployments to manage. With a little PXE dust and DHCP magic (among other tidbits), you can create a convenient framework using Ansible to get real hardware up and running easily.
- What you need to know about Ansible modules by Jairo da Silva Junior: Modules bring real power to Ansible. Many modules are already available, but when there is none, you may need to roll your own. Read this article to look a bit deeper into how modules are made.
- 5 ops tasks to do with Ansible by Mark Phillips: This is another more basic review of Ansible use to manage common system operations tasks. The draw here is the list of examples given in Tower (or AWX) instead of the old familiar command line.
- A quickstart guide to Ansible by Chris Short is a great PDF download that you should keep on hand and reread from time to time. It begins with a great primer to get started in Ansible. It also covers other areas of interest including Molecule testing, sysadmin tasks, and Kubernetes object management, to name a few.
- An Ansible reference guide, CI/CD with Ansible Tower and GitHub, and more news by Mark Phillips: This is a monthly round-up article full of interesting links to follow. Topics span Ansible basics, managing Netapp E-Series storage, debugging, patching, and more. Videos are included here as well as some pointers to Ansible meetup groups. Check it out!
Let us know if you had a favorite Ansible article this year and why in the comments.
What to read next
I am a long time UNIX system administrator and open source advocate. In recent years my primary focus as been on Linux & FreeBSD systems administration, networking, telecom, and SAN/storage management. I love building infrastructure, tying systems together, creating processes, and bringing people together in support of their technical efforts.