Files
soda64 1dbbb1ce56
Build and Publish Release / Build Packages and Publish (push) Successful in 10s
feat: release v1.1.2 - hardened IP sorting with ipaddress and config sort defaults
2026-10-03 22:18:10 +02:00

32 lines
1.1 KiB
Plaintext

# inventory-collector configuration file example
# Can be placed at:
# - ./inventory-collector.yaml
# - ~/.config/inventory-collector/config.yaml
# - /etc/inventory-collector/config.yaml
sources:
proxmox:
enabled: true
url: "${PROXMOX_URL}"
token_id: "${PROXMOX_TOKEN_ID}"
token_secret: "${PROXMOX_TOKEN_SECRET}"
verify_ssl: false
timeout: 10
static_files:
- path: "~/.config/inventory-collector/static_hosts.ini"
required: false
defaults:
ssh_user: "lain"
ssh_port: 22
conflict_policy: "runtime_over_static"
sort_by: "name" # Default sorting: "name" or "ip"
sort_reverse: false # Set true to reverse sorting by default
destinations:
# In --sync mode, destinations define where unified inventories are written.
# Paths support '~' expansion or absolute paths (e.g. ~/.config/inventory-collector/hosts.yaml).
# Relative paths (like inventory/hosts.yaml) are relative to current working directory.
ansible: "~/.config/inventory-collector/hosts.yaml"
linux_connector: "~/.config/linux-connector/hosts.yaml"