Class: Ansible::Ruby::Modules::Ipa_hostgroup
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ipa_hostgroup
- Defined in:
- lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb
Overview
Add, modify and delete an IPA host-group using IPA API
Instance Method Summary collapse
-
#cn ⇒ Object
Name of host-group.,Can not be changed as it is the unique identifier.
-
#description ⇒ Object?
Description.
-
#host ⇒ Array<String>, ...
List of hosts that belong to the host-group.,If an empty list is passed all hosts will be removed from the group.,If option is omitted hosts will not be checked or changed.,If option is passed all assigned hosts that are not passed will be unassigned from the group.
-
#hostgroup ⇒ Array<String>, ...
List of host-groups than belong to that host-group.,If an empty list is passed all host-groups will be removed from the group.,If option is omitted host-groups will not be checked or changed.,If option is passed all assigned hostgroups that are not passed will be unassigned from the group.
-
#state ⇒ :present, ...
State to ensure.
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
#cn ⇒ Object
Returns Name of host-group.,Can not be changed as it is the unique identifier.
12 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 12 attribute :cn |
#description ⇒ Object?
Returns Description.
16 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 16 attribute :description |
#host ⇒ Array<String>, ...
Returns List of hosts that belong to the host-group.,If an empty list is passed all hosts will be removed from the group.,If option is omitted hosts will not be checked or changed.,If option is passed all assigned hosts that are not passed will be unassigned from the group.
19 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 19 attribute :host |
#hostgroup ⇒ Array<String>, ...
Returns List of host-groups than belong to that host-group.,If an empty list is passed all host-groups will be removed from the group.,If option is omitted host-groups will not be checked or changed.,If option is passed all assigned hostgroups that are not passed will be unassigned from the group.
23 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 23 attribute :hostgroup |
#state ⇒ :present, ...
Returns State to ensure.
27 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 27 attribute :state |