Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-24021

Missing --order option in "hammer hostgroup ansible-roles list"

XMLWordPrintable

    • Moderate
    • To Do
    • No

      Description of problem:

      • It's possible to use --order when listing hostgroups:
      1. 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`:

      1. hammer hostgroup ansible-roles list --id 2 --order "id DSC"
        Error: Unrecognised option '--order'.

      See: 'hammer hostgroup ansible-roles <list|index> --help'.

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-jsenkyri Jan Senkyrik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: