Subsections of proxcli invetory
Show computed proxcli inventory
Options
| option | description | Allowed values |
|---|---|---|
| filter-name | filter inventory by a regex applyed on virtual machines names | string |
| exclude-tag | exclude tags from inventory. Comma separated list of tags | string |
| output-format | output format is one of (json, yaml) | string |
Examples
- show computed inventory
proxcli inventory show- show computed inventory with only virtual machine names starting by test
proxcli inventory show --filter-name "^test"- show computed inventory with only virtual machine names starting by test and exclude production tag
proxcli inventory show --filter-name "^test" --exclude-tag "production"Save proxcli inventory file
Options
| option | description | Allowed values |
|---|---|---|
| exclude-tags | a list of coma separated tags to be excluded from the ansible inventory file | string |
| filter-name | a regex applied on host names so only matching host names will be saved in the ansible inventory file | string |
| output-format | one of json or yaml | string |
| path | full path of the ansible inventory file | string |
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"

