Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, zypper 安装 ansible-cmdb

查看 ansible-cmdb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ansible-cmdb

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#ansible-cmdb

nixpkgs package indexes · pkgs/by-name/an/ansible-cmdb/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install ansible-cmdb

openSUSE Tumbleweed package metadata · ansible-cmdb · 来源: download.opensuse.org

概览

软件包摘要

Generates static HTML overview page from Ansible facts

命令和别名

  • ansible-cmdb

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ansible-cmdbcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.31
管理器更新时间
本地数据OK
上游当前
检测到的最新版本1.31

https://github.com/fboender/ansible-cmdb

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:ansible-cmdb
版本1.31
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ansible-cmdb
主页https://github.com/fboender/ansible-cmdb
仓库https://github.com/fboender/ansible-cmdb
上游文档https://ansible-cmdb.readthedocs.io/en/latest
许可证GPL-3.0-or-later
源码归档https://github.com/fboender/ansible-cmdb/archive/refs/tags/1.31.tar.gz
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameansible-cmdb
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

ansible-cmdb

nix profile install nixpkgs#ansible-cmdb
  • normalized package name match
  • 匹配方式:Ansible Cmdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/an/ansible-cmdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

ansible-cmdb 1.31-3.2

Ansible Configuration Management Database

https://github.com/fboender/ansible-cmdb

sudo zypper install ansible-cmdb
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: ansible-cmdb
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Ansible Cmdb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ansible-cmdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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