Class: Ansible::Ruby::Modules::Ipa_sudocmdgroup

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/identity/ipa/ipa_sudocmdgroup.rb

Overview

Add, modify or delete sudo command group within IPA server 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 Sudo Command Group.

Returns:

  • (Object)

    Sudo Command Group.



12
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_sudocmdgroup.rb', line 12

attribute :cn

#descriptionString?

Returns Group description.

Returns:

  • (String, nil)

    Group description.



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

attribute :description

#state:present, ...

Returns State to ensure.

Returns:

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

    State to ensure



20
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_sudocmdgroup.rb', line 20

attribute :state

#sudocmdArray<String>, ...

Returns List of sudo commands to assign to the group.,If an empty list is passed all assigned commands will be removed from the group.,If option is omitted sudo commands will not be checked or changed.

Returns:

  • (Array<String>, String, nil)

    List of sudo commands to assign to the group.,If an empty list is passed all assigned commands will be removed from the group.,If option is omitted sudo commands will not be checked or changed.



24
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_sudocmdgroup.rb', line 24

attribute :sudocmd