InterviewSolution
Saved Bookmarks
| 1. |
What are callback plugins in Ansible? |
|
Answer» Callback plugins basically control most of the output we see while running cmd programs. But it can also be used to add ADDITIONAL output. For example log_plays callback is used to record playbook events to a log file, and mail callback is used to send email on playbook failures. We can also add custom callback plugins by DROPPING them into a callback_plugins directory adjacent to play, inside a role, or by PUTTING it in one of the callback directory SOURCES configured in ansible.cfg. |
|