Class: Ansible::Ruby::Modules::Ipa_hostgroup

Inherits:
Base show all
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

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

#cnObject

Returns Name of host-group.,Can not be changed as it is the unique identifier.

Returns:

  • (Object)

    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

#descriptionObject?

Returns Description.

Returns:

  • (Object, nil)

    Description



16
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 16

attribute :description

#hostArray<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.

Returns:

  • (Array<String>, String, nil)

    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

#hostgroupArray<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.

Returns:

  • (Array<String>, String, nil)

    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.

Returns:

  • (:present, :absent, :enabled, :disabled, nil)

    State to ensure.



27
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_hostgroup.rb', line 27

attribute :state