Simple play icon Course
Skills

Testing and Debugging Ansible Automation

by Christopher Hart

Struggling to troubleshoot errors with Ansible automation? Got a playbook that fails, but have no idea why? In this course, you'll unlock effective tools and efficient methods for troubleshooting Ansible automation.

What you'll learn

It’s no secret that Ansible automation is easy to write and simple to execute. However, when errors crop up and playbooks start failing, troubleshooting what went wrong in your Ansible automation can become a daunting task. In this course, Testing and Debugging Ansible Automation, you’ll learn the tools and methods for effectively rooting out issues in your Ansible automation. First, you’ll explore how to use various command line options and tools to validate the integrity and functionality of your Ansible automation. Next, you’ll discover how to improve the error handling capabilities of your automation with a handful of built-in Ansible modules. Finally, you’ll learn how to use Ansible’s built-in debugger to walk through the execution of your Ansible automation step-by-step. When you’re finished with this course, you’ll have the skills and knowledge to efficiently troubleshoot failed Ansible automation, regardless of whether the root cause is faulty logic, improper user input, or a bug in an Ansible module.

About the author

Christopher Hart is a Software Consulting Engineering Technical Leader for Cisco specialized in enterprise and data center network solutions. Christopher continuously hones his Python software development skills and advocates for automation-first mindsets and DevOps principles. Christopher enjoys producing technical documentation and training, publishing over a dozen articles for Cisco and speaking at Cisco Live 2021. Christopher holds a Bachelor's of Science in Industrial Technology from East C... more

Ready to upskill? Get started