in DevOps by

What is the callback modules in Ansible, give a few instances of some callback modules?

1 Answer

0 votes

Callback modules empower adding new practices to Ansible when reacting to occasions. Of course, callback modules control a large portion of the yield you see when running the direction line programs, however can likewise be utilized to include an extra yield, coordinate with different apparatuses and marshall the occasions to a capacity backend. So at whatever point a play is executed and after it creates a few occasions, that occasions are imprinted onto Stdout screen, so callback module can be put into any capacity backend for log preparing.

Model callback modules are ansible-logstash, where each playbook execution is brought by logstash in the JSON group and can be incorporated some other backend source like elasticsearch.

Related questions

0 votes
asked Dec 28, 2019 in Ansible by mohankoshal
0 votes
asked Aug 24, 2019 in Ansible by rahulsharma
0 votes
asked Mar 9, 2020 in DevOps by Hodge