lib/bolt/inventory/group.rb
# Returns a mapping of aliases to targets contained within the group, which includes subgroups.
Returns a mapping of aliases to targets contained within the group, which includes subgroups.
Returns a mapping of aliases to targets contained within the group which includes subgroups .
def target_aliases
        @groups.inject(@aliases) do |acc, g|
          acc.merge(g.target_aliases)
        end
      end
def target_aliases @groups . inject ( @aliases ) do | acc , g | acc . merge ( g . target_aliases ) end end
Returns a mapping of aliases to targets contained within the group, which includes subgroups.
Returns a mapping of aliases to targets contained within the group which includes subgroups .