# ansible-cmdb を Homebrew, Nix, zypper でインストール

ansible-cmdb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: ansible-cmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:ansible-cmdb
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.31
- **ソース概要:** Generates static HTML overview page from Ansible facts
- **ホームページ:** <https://github.com/fboender/ansible-cmdb>
- **リポジトリ:** <https://github.com/fboender/ansible-cmdb>
- **最終更新:** 2026-07-10T16:05:17-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ansible-cmdb (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.31
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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.3: normalized package name match | openSUSE Tumbleweed package metadata: ansible-cmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Ansible Configuration Management Database | https://github.com/fboender/ansible-cmdb


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
