lib/bolt/inventory/group.rb in bolt-2.38.0 vs lib/bolt/inventory/group.rb in bolt-2.40.1

- old
+ new

@@ -252,17 +252,9 @@ unless (unexpected_keys = input.keys - GROUP_KEYS).empty? msg = "Found unexpected key(s) #{unexpected_keys.join(', ')} in group #{@name}" @logger.warn(msg) end - - Bolt::Util.walk_keys(input) do |key| - if @plugins.reference?(key) - raise ValidationError.new("Group keys cannot be specified as _plugin references", @name) - else - key - end - end end def validate(used_group_names = Set.new, used_target_names = Set.new, used_aliases = {}) # Test if this group name conflicts with anything used before. raise ValidationError.new("Tried to redefine group #{@name}", @name) if used_group_names.include?(@name)