Ansible Playbook Monitor - Monitor Your Ansible Playbooks in Home Assistant with This Integration!

Hi Home Assistant community! :wave:

I wanted to share something I put together yesterday that bridges the gap between Ansible automation and Home Assistant: Ansible Playbook Monitor!

This integration allows you to monitor the state of your Ansible playbooks directly within Home Assistant. Whether you’re running infrastructure automation or managing configurations, you can now keep an eye on your playbooks without leaving your Home Assistant dashboard.

:rocket: Key Features:

  • Webhook Integration: Sends playbook statuses to Home Assistant using webhooks.
  • Entity Creation: Publishes statuses as individual entities for easy tracking.
  • Customizable Automation: Use the playbook states to trigger automations or notifications.

:bulb: Use Cases:

  • Get notified when a playbook starts, finishes, or encounters errors.
  • Display real-time playbook statuses on your Lovelace dashboard.
  • Automate recovery actions in Home Assistant if a playbook fails.

:books: How It Works:

  1. Set up the webhook in Home Assistant to receive Ansible playbook events.
  2. Configure your playbooks to send updates to the webhook.
  3. Enjoy seamless updates in Home Assistant!

:wrench: Requirements:

  • Home Assistant 2023.5 or newer
  • A working Ansible environment
  • Access to your Home Assistant instance (either via HTTPS or HTTP)

:link: Get Started:

Check out the GitHub repo for full documentation, setup instructions, and examples. It’s easy to get started, and contributions or feedback are always welcome!


3 Likes