lib/bolt/application.rb
# Show groups in the inventory.
#
# @return [Hash]
#
Show groups in the inventory.
Show groups in the inventory .
def list_groups
      {
        count: inventory.group_names.count,
        groups: inventory.group_names.sort,
        inventory: {
          default: config.default_inventoryfile.to_s,
          source: inventory.source
        }
      }
    end
def list_groups { count : inventory . group_names . count , groups : inventory . group_names . sort , inventory : { default : config . default_inventoryfile . to_s , source : inventory . source } } end
Show groups in the inventory.
Show groups in the inventory .
None
Hash