Class: Ansible::Ruby::Modules::Group_by

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/inventory/group_by.rb

Overview

Use facts to create ad-hoc groups that can be used later in a playbook. This module is also supported for Windows targets.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#keyString

Returns The variables whose values will be used as groups.

Returns:

  • (String)

    The variables whose values will be used as groups



13
# File 'lib/ansible/ruby/modules/generated/inventory/group_by.rb', line 13

attribute :key

#parentsString?

Returns The list of the parent groups.

Returns:

  • (String, nil)

    The list of the parent groups



17
# File 'lib/ansible/ruby/modules/generated/inventory/group_by.rb', line 17

attribute :parents