Ansible for Automation Essential Training: Advanced Playbooks, Roles, and Diverse Hosts
1h 30mIntermediate2025-01-21
Authors

Greg Sowell
Providing networking advice to datacenters, banks, and NBA franchises
Course details
Upgrade your IT skills with Ansible in this comprehensive course designed to enhance your automation capabilities. Instructor Greg Sowell guides you through hands-on lessons on the essentials of constructing playbooks, utilizing variables, adding conditionals, managing roles, and more. Ideal for system administrators and IT, DevOps, and networking professionals, by the end of this course, you’ll be prepared to automate tasks across a wide variety of different host types, including Windows hosts, network devices, and APIs.
Learning objectives
Construct simple and complex playbooks to automate IT tasks effectively.
Utilize variables, conditionals, and loops to create dynamic and flexible automation scripts.
Implement roles and manage them to streamline playbook organization and reuse.
Integrate Ansible with various host types, including Windows and network devices, to expand automation capabilities.
Interact with APIs and create dynamic inventory files to enhance automation workflows.
Learning objectives
Construct simple and complex playbooks to automate IT tasks effectively.
Utilize variables, conditionals, and loops to create dynamic and flexible automation scripts.
Implement roles and manage them to streamline playbook organization and reuse.
Integrate Ansible with various host types, including Windows and network devices, to expand automation capabilities.
Interact with APIs and create dynamic inventory files to enhance automation workflows.
Skills covered
AnsibleRed HatIT AutomationDevOps ToolsDevOps FoundationsDevOpsEssential TrainingNetwork and System Administration
Concepts
0. Introduction
- 01 - Upgrade your IT skills with Ansible
- 02 - What you should already know
1. Building Better Automations
- 03 - Installing collections
- 04 - Construct a simple playbook
- 05 - Using variables
- 06 - Using loops
- 07 - Adding conditionals
- 08 - Utilizing blocks
- 09 - Exploring templates
- 10 - Discovering handlers
- 11 - Using tags
- 12 - Testing plays with check mode
- 13 - Conditional failure with assert
- 14 - Failure and change control
- 15 - Nesting loops
- 16 - Creating dynamic inventory files
- 17 - Challenge - Create a complex playbook
- 18 - Solution - Verify the complex playbook
2. Using Roles
- 19 - An overview of Ansible roles
- 20 - Role creation
- 21 - Adding roles to a playbook
- 22 - Managing roles
- 23 - Challenge - Create a role
- 24 - Solution - Verify the role
3. Using Secrets
- 25 - An overview of secrets in Ansible
- 26 - Using Ansible vault and vaulted files in playbooks
- 27 - Challenge - Create and utilize a vaulted secret
- 28 - Solution - Verify the vaulted secret
4. Automate Other Host Types
- 29 - An overview of other host types
- 30 - Using Ansible with Windows hosts
- 31 - Using Ansible with network devices
- 32 - Using Ansible with APIs
- 33 - Challenge - Interact with an API
- 34 - Solution - Verify API interaction
Conclusion
- 35 - Next steps