| 1 |
$ anta get from-ansible --help |
| 2 |
Usage: anta get from-ansible [OPTIONS] |
| 3 |
|
| 4 |
Build ANTA inventory from an ansible inventory YAML file. |
| 5 |
|
| 6 |
NOTE: This command does not support inline vaulted variables. Make sure to |
| 7 |
comment them out. |
| 8 |
|
| 9 |
Options: |
| 10 |
-o, --output FILE Path to save inventory file [env var: |
| 11 |
ANTA_INVENTORY; required] |
| 12 |
--overwrite Do not prompt when overriding current inventory |
| 13 |
[env var: ANTA_GET_FROM_ANSIBLE_OVERWRITE] |
| 14 |
-g, --ansible-group TEXT Ansible group to filter |
| 15 |
--ansible-inventory FILE Path to your ansible inventory file to read |
| 16 |
[required] |
| 17 |
--help Show this message and exit. |