From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Lesson 13 lab solution: Using callback plugins

Lesson 13 lab solution: Using callback plugins - Ansible Tutorial

From the course: Ansible: From Basics to Guru by Pearson

Lesson 13 lab solution: Using callback plugins

The best way, if you want to find the appropriate plugin, is to use Ansible doc-t, just do it without anything so that on the top line you can see all the different plugin categories. Now you probably remember, if you want Ansible to change the way how it shows information on screen, you need a callback plugin. So Ansible doc minus T callback minus L is a good first start. And in the callback plugins list, you can see there's a minimal callback plugin. So minimal Ansible screen output is a description. That's not very much. You can always give it a try and use Ansible doc minus T callback followed by the name of the plugin minimal. There you can see all the configuration that relates to this plugin. Of course, you can also find it in the online documentation. And once you are clear on that, this is really the plugin that you want to use. Well, you go to your Ansible.cfg and you stand it out. Callback is minimal. And then you want to give it a try. Well, Ansible playbook on…

Contents