COMMERCIAL FEATURE: Access the Sensu Ansible Handler integration in the packaged Sensu Go distribution. For more information, read Get started with commercial features.
The Sensu Ansible Handler plugin is a Sensu handler that launches Ansible Tower job templates for automated remediation based on Sensu observability event data.
NOTE: The Sensu Ansible Handler plugin is an example of Sensu’s auto-remediation integrations. To find more integrations, search Bonsai, the Sensu asset hub.
The Sensu Ansible Handler plugin supports both Ansible Tower and Ansible AWX implementations of the Ansible Tower API, authenticating using Ansible Tower API tokens.
- Specify a default Ansible Tower job template for remediation actions for all checks and use check annotations to override the default as needed on a check-by check-basis.
- Automatically limit Ansible jobs to the host that matches the Sensu entity name encoded in a Sensu event.
- Optional job template requests: use Sensu check annotations to specify a set of Ansible Tower job template requests to run for matching Sensu event occurrence and severity conditions.
- Keep your Ansible Tower host and auth token secure with Sensu environment variables and secrets management.
Get the plugin
For a turnkey experience with the Sensu Ansible Handler plugin, use our curated, configurable quick-start template to integrate Sensu with your existing Ansible Tower workflows.
You can also add the Sensu Ansible Handler plugin with a dynamic runtime asset from Bonsai, the Sensu asset hub, to build your own workflow or integrate Sensu with your existing Ansible workflows. Dynamic runtime assets are shareable, reusable packages that make it easier to deploy Sensu plugins.
Use the official Sensu Go Ansible Collection for configuration management for your Sensu instance. The documentation site includes installation instructions, example playbooks, and module references