Войти
  • 1016Просмотров
  • 2 года назадОпубликованоBeyond the README

The Ansible Debugger

Troubleshooting issues with Ansible plays can be tricky. It's very common to encounter an issue, haphazardly update a playbook, and then simply re-run the entire play. This is time consuming and frustrating. Did you know that there's a better way? In this video, we take a look at the Ansible debugger. The debugger is a powerful, but often overlooked, feature in Ansible that makes it much easier to troubleshoot issues with Ansible plays. Becoming proficient with Ansible's debugger will save you time and allow you to focus on the tasks that you're trying to automate, instead of spending cycles on debugging issues with your automation tools. Playbook: VIDEO CHAPTERS 00:00 - Intro 00:14 - Overview and Background 00:46 - Enabling the Debugger 02:50 - Using the Debug Shell 03:58 - Updating Task Variables 05:52 - Iteratively Debugging 06:49 - Updating Task Arguments 08:09 - The Always Keyword 11:07 - Enabling the Debugger on Third-Party Playbooks 11:36 - Conclusion and Outro