Save proxcli inventory file

Options

optiondescriptionAllowed values
exclude-tagsa list of coma separated tags to be excluded from the ansible inventory filestring
filter-namea regex applied on host names so only matching host names will be saved in the ansible inventory filestring
output-formatone of json or yamlstring
pathfull path of the ansible inventory filestring

Examples

  • save a proxmox inventory file in yaml format
proxcli inventory create --path ./inventory.yaml
  • save a proxmox inventory file in yaml format with host names matching regex “^test”
proxcli inventory create --path ./inventory.yaml --filter-name "^test"