Ansible Integration

Events

With our Ansible integration, Instana collects events whenever a playbook starts or finishes, and when tasks fail, succeed, or get skipped.

Please see https://github.com/instana/instana-ansible for more details.

Download instana_change_callback.py and copy it into your ./callbacks folder.

If this is the first time using an Ansible callback plugin, you will need to add the configuration file ansible.cfg to your directory with the following overrides:

An example would be: ansible-playbook -vvvv startup_servers.yml.

When executing your playbook using -vvvv will provide full debug information.

ansible.cfg

[defaults]

# enable additional callbacks
callback_whitelist = instana_change_callback
callback_plugins = ./callbacks

ansible