Class: Ansible::Ruby::Modules::Getent

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/getent.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#databaseString

Returns the name of a getent database supported by the target system (passwd, group, hosts, etc).

Returns:

  • (String)

    the name of a getent database supported by the target system (passwd, group, hosts, etc).



10
# File 'lib/ansible/ruby/modules/generated/extras/system/getent.rb', line 10

attribute :database

#fail_keyBoolean?

Returns If a supplied key is missing this will make the task fail if True.

Returns:

  • (Boolean, nil)

    If a supplied key is missing this will make the task fail if True



22
# File 'lib/ansible/ruby/modules/generated/extras/system/getent.rb', line 22

attribute :fail_key

#keyString?

Returns key from which to return values from the specified database, otherwise the full contents are returned.

Returns:

  • (String, nil)

    key from which to return values from the specified database, otherwise the full contents are returned.



14
# File 'lib/ansible/ruby/modules/generated/extras/system/getent.rb', line 14

attribute :key

#splitString?

Returns character used to split the database values into lists/arrays such as ‘:’ or ‘ ’, otherwise it will try to pick one depending on the database.

Returns:

  • (String, nil)

    character used to split the database values into lists/arrays such as ‘:’ or ‘ ’, otherwise it will try to pick one depending on the database



18
# File 'lib/ansible/ruby/modules/generated/extras/system/getent.rb', line 18

attribute :split