# Install ansible-cmdb with Homebrew, Nix, zypper

Generates static HTML overview page from Ansible facts. Version 1.31 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ansible-cmdb
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ansible-cmdb
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ansible-cmdb
```

  Evidence: nixpkgs package indexes: pkgs/by-name/an/ansible-cmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install ansible-cmdb
```

  Evidence: openSUSE Tumbleweed package metadata: ansible-cmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:ansible-cmdb
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ansible-cmdb>
- **Version:** 1.31
- **Source summary:** Generates static HTML overview page from Ansible facts
- **Homepage:** <https://github.com/fboender/ansible-cmdb>
- **Repository:** <https://github.com/fboender/ansible-cmdb>
- **Upstream docs:** <https://ansible-cmdb.readthedocs.io/en/latest>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/fboender/ansible-cmdb/archive/refs/tags/1.31.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ansible-cmdb (cli)
- ansible-cmdb (alias)

## Dependencies

- libyaml
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.31
- Local data: ok
- Upstream repository: https://github.com/fboender/ansible-cmdb
- Upstream latest detected: 1.31 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Ansible-CMDB is a small companion utility for Ansible users who want static inventory and host-fact reports without running a database-backed CMDB service. It consumes facts gathered by Ansible and renders them as HTML, CSV, SQL, JSON, Markdown, or plain-text output.

### Project history

The project is maintained in the fboender/ansible-cmdb repository and its manual page identifies the command as a tool to generate host overviews from Ansible facts. Its documentation describes an implementation centered on parsing fact directories and, optionally, Ansible inventory data, then rendering the result through templates.

The 1.x release line was already established by 2015, when the bundled man page was dated 2015-11-11. GitHub releases show continued 1.x maintenance through v1.31, including packaging, variable parsing, and template fixes.

### Adoption history

Ansible-CMDB became useful in the gap between ad hoc Ansible fact gathering and heavier infrastructure inventory systems. Its adoption pattern is package-nerdy rather than platform-centric: it appears in Homebrew, Nix, SUSE/openSUSE packaging, and PyPI-oriented workflows because it is a single CLI that can be dropped into cron jobs or documentation pipelines.

The project has a long-lived GitHub footprint with thousands of stars and hundreds of forks, but its release cadence is modest compared with core Ansible tools. That matches its role as a stable reporting add-on rather than an automation engine.

### How it is used

The canonical workflow is to run Ansible setup with `--tree` to write fact files, then run `ansible-cmdb out/ > overview.html`. Passing `-i` lets the tool read inventory files or dynamic inventory scripts so host and group variables appear in the report.

Users choose templates with `-t`, add template parameters with `-p`, and can output split HTML for large inventories. It is commonly used when a team wants a browsable snapshot of hosts and facts without deploying AWX, NetBox, ServiceNow, or a custom database.

### Why package nerds care

For package maintainers, Ansible-CMDB is a classic Unix-shaped adjunct: one executable, generated static output, no daemon, and broad packaging across Python and OS repositories. Its value is that it turns Ansible's existing fact cache into artifacts that can be archived, published, diffed, or shipped as build output.

It also illustrates how the Ansible ecosystem produced small single-purpose tools around the core CLI before more integrated platforms became common.

### Timeline

- 2015: Bundled manual page documents `ansible-cmdb` as a fact-to-overview generator.
- 2017: v1.19 release posts describe static HTML host overview generation and multiple templates.
- 2018: v1.26/v1.26.1 releases focus on packaging and template improvements.
- 2021: v1.31 release fixes PyPI license metadata and template issues.

### Related projects

- Ansible provides the fact gathering data consumed by Ansible-CMDB.
- AWX and Red Hat Ansible Automation Platform provide heavier web UI, inventory, and job orchestration workflows.
- NetBox, ServiceNow CMDB, and other inventory systems overlap with the infrastructure documentation use case but are not drop-in static report generators.

### Sources

- <https://ansible-cmdb.readthedocs.io/en/stable/installation/>
- <https://github.com/fboender/ansible-cmdb>
- <https://github.com/fboender/ansible-cmdb/blob/master/README.md>
- <https://github.com/fboender/ansible-cmdb/blob/master/contrib/ansible-cmdb.man.1>
- <https://github.com/fboender/ansible-cmdb/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ansible-cmdb
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - ansible-cmdb: normalized package name match | nixpkgs package indexes: pkgs/by-name/an/ansible-cmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - ansible-cmdb - 1.31-3.2: normalized package name match | openSUSE Tumbleweed package metadata: ansible-cmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Ansible Configuration Management Database | https://github.com/fboender/ansible-cmdb


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ansible-creator](https://www.automicvault.com/pkg/brew/ansible-creator/) - Shares av.db curated category or tags: ansible, cli, cloud-infrastructure, configuration-management.
- [ansible-lint](https://www.automicvault.com/pkg/brew/ansible-lint/) - Shares av.db curated category or tags: ansible, cli, cloud-infrastructure, configuration-management.
- [ansible](https://www.automicvault.com/pkg/brew/ansible/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration-management.
- [kubecfg](https://www.automicvault.com/pkg/brew/kubecfg/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration-management.
- [talm](https://www.automicvault.com/pkg/brew/talm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration-management.
- [tanka](https://www.automicvault.com/pkg/brew/tanka/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration-management.
- [ansible-builder](https://www.automicvault.com/pkg/brew/ansible-builder/) - Shares av.db curated category or tags: ansible, cli, cloud-infrastructure.
- [actions-batch](https://www.automicvault.com/pkg/brew/actions-batch/) - Shares av.db curated category or tags: cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/ansible-cmdb.yml](https://github.com/automic-vault/db/blob/main/combined/ansible-cmdb.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
