<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt" -->

---
title: Event-driven infrastructure inventory with Inngest and...
description: Inngest engineers describe how they consolidated inventory synchronization across Ansible, libvirt, and NetBox into a single Go application built on Inngest's...
canonical: https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Event-driven infrastructure inventory with Inngest and NetBox | daily.dev
og:description: Inngest engineers describe how they consolidated inventory synchronization across Ansible, libvirt, and NetBox into a single Go application built on Inngest's...
og:url: https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt
og:image: https://api.daily.dev/og/posts/UAQ5FUxRt.png
og:image:alt: Event-driven infrastructure inventory with Inngest and NetBox
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Event-driven infrastructure inventory with Inngest and NetBox

**[Inngest Blog](https://daily.dev/sources/inngest)** · 11 min read · 0 upvotes · 0 comments

## Summary

Inngest engineers describe how they consolidated inventory synchronization across Ansible, libvirt, and NetBox into a single Go application built on Inngest's event-driven workflow engine. Instead of scattered coordination logic across tools, each system now emits events (like ansible/run) that a central Inngest app processes, transforming data and writing it into NetBox as the source of truth. Key benefits highlighted include automatic retries against a flaky internally-hosted NetBox instance, the ability to rerun failed workflows from the original event payloads after deploying bug fixes, and an architecture that extends to new datacenter locations without added coordination code. Future plans include asset lifecycle tracking, cost tracking, capacity planning, and integrating monitoring and ticketing systems through the same event schema.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/event-driven-infrastructure-inventory-inngest-netbox>

## Questions this post answers

### How can I sync Ansible playbook facts into NetBox automatically without writing custom coordination code in every tool?

Have each Ansible playbook run emit an event (such as an ansible/run event with inventory_hostname and facts payload) to an event API, then let a central workflow engine like Inngest process that event, transform the facts, and upsert the corresponding device into NetBox. A failed_when: false setting on the Ansible task ensures inventory sync failures never block the playbook run itself.

_daily.dev surfaces practical event-driven infrastructure patterns for teams wiring Ansible into systems like NetBox._

### How do checkpointed steps in an Inngest workflow help when an internal service like NetBox crashes mid-request?

Each step in an Inngest function (via step.Run) is checkpointed independently, so if NetBox crashes partway through a workflow, only the failed step retries while already-completed steps do not re-execute. With a default of 4 retry attempts, transient failures from an unreliable internal service are absorbed automatically without extra error-handling code.

_engineers hardening flaky internal services can compare retry and checkpointing strategies discussed on daily.dev._

### What is the benefit of replaying failed workflow runs after fixing a bug in event-driven infrastructure automation?

Replaying failed runs lets previously failed workflow executions reprocess to completion using their original event payloads after a bug fix is deployed, without needing to trigger fresh source events or manually reconcile state. This removes the need to re-run upstream systems like Ansible playbooks just to recover from a downstream logic bug.

_teams debugging stateful workflow failures can find similar operational patterns on daily.dev._

## Similar posts on daily.dev

- [Automating Complex Workflow in Your Next.js App with Inngest](https://daily.dev/posts/automating-complex-workflow-in-your-next-js-app-with-inngest-z21aksfdw) · Telerik · 2 upvotes · 0 comments
- [Your Infrastructure Record, Now Native in Jira Service Management Assets](https://daily.dev/posts/your-infrastructure-record-now-native-in-jira-service-management-assets-mfzwna7ba) · NetBox Labs · 0 upvotes · 0 comments
- [Customer story](https://daily.dev/posts/customer-story-eeflvqqvv) · Inngest Blog · 0 upvotes · 0 comments
- [Public Preview: NetBox Analytics Puts Your Infrastructure Record to Work](https://daily.dev/posts/public-preview-netbox-analytics-puts-your-infrastructure-record-to-work-hksrv3nye) · NetBox Labs · 0 upvotes · 0 comments
- [New Integrations Extend the NetBox Labs Platform Across the Full Infrastructure Stack](https://daily.dev/posts/new-integrations-extend-the-netbox-labs-platform-across-the-full-infrastructure-stack-g4igd2n4n) · NetBox Labs · 0 upvotes · 0 comments

---

Tags: [#ansible](https://daily.dev/tags/ansible), [#architecture](https://daily.dev/tags/architecture), [#golang](https://daily.dev/tags/golang), [#inngest](https://daily.dev/tags/inngest), [#networking](https://daily.dev/tags/networking)

[View this post on daily.dev](https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Event-driven infrastructure inventory with Inngest and NetBox","url":"https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt"},"datePublished":"2026-09-13T19:57:21.739Z","dateModified":"2026-10-15T02:22:39.906Z","description":"Inngest engineers describe how they consolidated inventory synchronization across Ansible, libvirt, and NetBox into a single Go application built on Inngest's...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cbeca7a047686df4ca384a4c7cd59d5c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cbeca7a047686df4ca384a4c7cd59d5c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ansible,architecture,golang,inngest,networking","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Event-driven infrastructure inventory with Inngest and NetBox"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/event-driven-infrastructure-inventory-with-inngest-and-netbox-uaq5fuxrt#faq","mainEntity":[{"@type":"Question","name":"How can I sync Ansible playbook facts into NetBox automatically without writing custom coordination code in every tool?","acceptedAnswer":{"@type":"Answer","text":"Have each Ansible playbook run emit an event (such as an ansible/run event with inventory_hostname and facts payload) to an event API, then let a central workflow engine like Inngest process that event, transform the facts, and upsert the corresponding device into NetBox. A failed_when: false setting on the Ansible task ensures inventory sync failures never block the playbook run itself. daily.dev surfaces practical event-driven infrastructure patterns for teams wiring Ansible into systems like NetBox."}},{"@type":"Question","name":"How do checkpointed steps in an Inngest workflow help when an internal service like NetBox crashes mid-request?","acceptedAnswer":{"@type":"Answer","text":"Each step in an Inngest function (via step.Run) is checkpointed independently, so if NetBox crashes partway through a workflow, only the failed step retries while already-completed steps do not re-execute. With a default of 4 retry attempts, transient failures from an unreliable internal service are absorbed automatically without extra error-handling code. engineers hardening flaky internal services can compare retry and checkpointing strategies discussed on daily.dev."}},{"@type":"Question","name":"What is the benefit of replaying failed workflow runs after fixing a bug in event-driven infrastructure automation?","acceptedAnswer":{"@type":"Answer","text":"Replaying failed runs lets previously failed workflow executions reprocess to completion using their original event payloads after a bug fix is deployed, without needing to trigger fresh source events or manually reconcile state. This removes the need to re-run upstream systems like Ansible playbooks just to recover from a downstream logic bug. teams debugging stateful workflow failures can find similar operational patterns on daily.dev."}}]}
```

