Skip to content

v1.1.0 — Datacenter-aware inventory

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 14:43

Datacenters and subnets

  • New subnets.yaml maps each CIDR to a datacenter and a subnet group. Every machine gets target_dc and target_subnet_group (most specific CIDR wins, unknown when nothing matches) in hosts.yaml and every output JSON file, including per-subnet columns in ip-inventory.json.
  • The same file is now the scan list: each CIDR is expanded into /24s; scan: false keeps an entry for labelling only. The subnets var in main.yaml is now computed from it, and -e subnets=... still overrides it.

Discovery

  • One shared time budget per host (discovery_ssh_timeout, default 120s) across all user+key attempts, and a configurable ConnectTimeout (discovery_ssh_connect_timeout, default 20s).
  • Hosts that fail for a non-auth reason are retried (discovery_ssh_retries, discovery_ssh_retry_delay, discovery_ssh_retry_connect_timeout); auth refusals are not.
  • Every private key in discovery_ssh_key_dir (default ~/.ssh) is tried, each offered on its own with IdentitiesOnly=yes so many keys no longer trip MaxAuthTries.
  • New outputs/.discovery_failures.log and outputs/.discovery_retries.log say which hosts were dropped or flaky, and why.
  • Optional discovery_ssh_bypass_proxy adds -o ProxyCommand=none, for control nodes where a global ProxyCommand (e.g. SSSD) stalls SSH.
  • Probing concurrency raised from 50 to 200; ansible.cfg sets forks = 100.

Collection

  • tools checks every tool in one SSH round-trip per host instead of one per tool.

Google Sheets export

  • Machines gains DC and Subnet Group columns, colored per datacenter, and is listed in IP order with a divider at every /24.
  • Groups gains DC and Subnet Groups mix columns.
  • Workbook font is now Calibri.

Grafana

  • Dashboard tables show target_dc and target_subnet_group right after target_group.

Project

  • Sample data in examples/outputs/ carries the new fields; subnets.yaml ships with example ranges.