Class: Ansible::Ruby::Modules::Ldap_entry

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_entry.rb

Overview

Add or remove LDAP entries. This module only asserts the existence or non-existence of an LDAP entry, not its attributes. To assert the attribute values of an entry, see M(ldap_attr).

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

#attributesHash?

Returns If I(state=present), attributes necessary to create an entry. Existing entries are never modified. To assert specific attribute values on an existing entry, use M(ldap_attr) module instead.

Returns:

  • (Hash, nil)

    If I(state=present), attributes necessary to create an entry. Existing entries are never modified. To assert specific attribute values on an existing entry, use M(ldap_attr) module instead.



12
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_entry.rb', line 12

attribute :attributes

#objectClassArray<String>, ...

Returns If I(state=present), value or list of values to use when creating the entry. It can either be a string or an actual list of strings.

Returns:

  • (Array<String>, String, nil)

    If I(state=present), value or list of values to use when creating the entry. It can either be a string or an actual list of strings.



16
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_entry.rb', line 16

attribute :objectClass

#paramsString?

Returns List of options which allows to overwrite any of the task or the I(attributes) options. To remove an option, set the value of the option to C(null).

Returns:

  • (String, nil)

    List of options which allows to overwrite any of the task or the I(attributes) options. To remove an option, set the value of the option to C(null).



20
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_entry.rb', line 20

attribute :params

#state:present, ...

Returns The target state of the entry.

Returns:

  • (:present, :absent, nil)

    The target state of the entry.



24
# File 'lib/ansible/ruby/modules/generated/net_tools/ldap/ldap_entry.rb', line 24

attribute :state