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"