Class: Ansible::Ruby::Modules::Vertica_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vertica_user
- Defined in:
- lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb
Overview
Adds or removes Vertica database user and, optionally, assigns roles. A user will not be removed until all the dependencies have been dropped. In such a situation, if the module tries to remove the user it will fail and only remove roles granted to the user.
Instance Method Summary collapse
-
#cluster ⇒ String?
Name of the Vertica cluster.
-
#db ⇒ String?
Name of the Vertica database.
-
#expired ⇒ Object?
Sets the user’s password expiration.
-
#ldap ⇒ String?
Set to true if users are authenticated via LDAP.,The user will be created with password expired and set to I($ldap$).
-
#login_password ⇒ Object?
The password used to authenticate with.
-
#login_user ⇒ String?
The username used to authenticate with.
-
#name ⇒ String
Name of the user to add or remove.
-
#password ⇒ String?
The user’s password encrypted by the MD5 algorithm.,The password must be generated with the format C(“md5” + md5[password + username]), resulting in a total of 35 characters.
-
#port ⇒ Integer?
Vertica cluster port to connect to.
-
#profile ⇒ Object?
Sets the user’s profile.
-
#resource_pool ⇒ Object?
Sets the user’s resource pool.
-
#roles ⇒ String?
Comma separated list of roles to assign to the user.
-
#state ⇒ :present, ...
Whether to create C(present), drop C(absent) or lock C(locked) a user.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cluster ⇒ String?
Returns Name of the Vertica cluster.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 46 attribute :cluster |
#db ⇒ String?
Returns Name of the Vertica database.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 42 attribute :db |
#expired ⇒ Object?
Returns Sets the user’s password expiration.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 27 attribute :expired |
#ldap ⇒ String?
Returns Set to true if users are authenticated via LDAP.,The user will be created with password expired and set to I($ldap$).
30 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 30 attribute :ldap |
#login_password ⇒ Object?
Returns The password used to authenticate with.
58 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 58 attribute :login_password |
#login_user ⇒ String?
Returns The username used to authenticate with.
54 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 54 attribute :login_user |
#name ⇒ String
Returns Name of the user to add or remove.
13 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 13 attribute :name |
#password ⇒ String?
Returns The user’s password encrypted by the MD5 algorithm.,The password must be generated with the format C(“md5” + md5[password + username]), resulting in a total of 35 characters. An easy way to do this is by querying the Vertica database with select ‘md5’||md5(‘<user_password><user_name>’).
23 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 23 attribute :password |
#port ⇒ Integer?
Returns Vertica cluster port to connect to.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 50 attribute :port |
#profile ⇒ Object?
Returns Sets the user’s profile.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 17 attribute :profile |
#resource_pool ⇒ Object?
Returns Sets the user’s resource pool.
20 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 20 attribute :resource_pool |
#roles ⇒ String?
Returns Comma separated list of roles to assign to the user.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 34 attribute :roles |
#state ⇒ :present, ...
Returns Whether to create C(present), drop C(absent) or lock C(locked) a user.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/database/vertica/vertica_user.rb', line 38 attribute :state |