Class: Ansible::Ruby::Modules::Group_by
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Group_by
- 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
-
#key ⇒ String
The variables whose values will be used as groups.
-
#parents ⇒ String?
The list of the parent groups.
Methods inherited from Base
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
#key ⇒ String
Returns The variables whose values will be used as groups.
13 |
# File 'lib/ansible/ruby/modules/generated/inventory/group_by.rb', line 13 attribute :key |
#parents ⇒ String?
Returns The list of the parent groups.
17 |
# File 'lib/ansible/ruby/modules/generated/inventory/group_by.rb', line 17 attribute :parents |