Files
inventory-collector/config.yaml.example
T
soda64 62710d8bb7
Build and Publish Release / Build Packages and Publish (push) Successful in 25s
feat: release v1.1.1 - host sorting by name/IP, sync destination overrides, and ~ expansion
2026-10-03 22:05:00 +02:00

30 lines
956 B
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"
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"