-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.14.0
Description of problem:
- It's possible to use --order when listing hostgroups:
- hammer hostgroup list --order "id ASC"
--|-------------|---------------------|----------------|------------------|-----
ID | NAME | TITLE | OPERATING SYSTEM | PUPPET ENVIRONMENT | MODEL
--|-------------|---------------------|----------------|------------------|-----
1 | rhel8_puppet | rhel8_puppet | | |
2 | rhel9_parent | rhel9_parent | | |
3 | test_hg | test_hg | | |
4 | test_hg_child | test_hg/test_hg_child | | |
--|-------------|---------------------|----------------|------------------|-----
- But this option is not available for `hammer hostgroup ansible-roles list`:
—
- hammer hostgroup ansible-roles list --id 2 --order "id DSC"
Error: Unrecognised option '--order'.
See: 'hammer hostgroup ansible-roles <list|index> --help'.
—