Class: Ansible::Ruby::Modules::Getent
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Getent
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/getent.rb
Instance Method Summary collapse
-
#database ⇒ String
The name of a getent database supported by the target system (passwd, group, hosts, etc).
-
#fail_key ⇒ Boolean?
If a supplied key is missing this will make the task fail if True.
-
#key ⇒ String?
Key from which to return values from the specified database, otherwise the full contents are returned.
-
#split ⇒ String?
Character used to split the database values into lists/arrays such as ‘:’ or ‘ ’, otherwise it will try to pick one depending on the database.
Methods inherited from Base
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
#database ⇒ String
Returns 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_key ⇒ Boolean?
Returns 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 |
#key ⇒ String?
Returns 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 |
#split ⇒ String?
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.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/getent.rb', line 18 attribute :split |