Class: Ansible::Ruby::Modules::Gitlab_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gitlab_user
- Defined in:
- lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb
Overview
When the user does not exist in Gitlab, it will be created. When the user does exists and state=absent, the user will be deleted. When changes are made to user, the user will be updated.
Instance Method Summary collapse
-
#access_level ⇒ Object?
The access level to the group.
-
#confirm ⇒ :yes, ...
Require confirmation.
-
#email ⇒ String
The email that belongs to the user.
-
#group ⇒ Object?
Add user as an member to this group.
-
#login_password ⇒ String?
Gitlab password for login_user.
-
#login_token ⇒ String?
Gitlab token for logging in.
-
#login_user ⇒ String?
Gitlab user name.
-
#name ⇒ String
Name of the user you want to create.
-
#password ⇒ String
The password of the user.,GitLab server enforces minimum password length to 8, set this value with 8 or more characters.
-
#server_url ⇒ String
Url of Gitlab server, with protocol (http or https).
-
#sshkey_file ⇒ String?
The ssh key itself.
-
#sshkey_name ⇒ String?
The name of the sshkey.
-
#state ⇒ :present, ...
Create or delete group.,Possible values are present and absent.
-
#username ⇒ String
The username of the user.
-
#validate_certs ⇒ :yes, ...
When using https if SSL certificate needs to be verified.
Methods inherited from Base
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
#access_level ⇒ Object?
Returns The access level to the group. One of the following can be used.,guest,reporter,developer,master,owner.
61 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 61 attribute :access_level |
#confirm ⇒ :yes, ...
Returns Require confirmation.
68 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 68 attribute :confirm |
#email ⇒ String
Returns The email that belongs to the user.
46 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 46 attribute :email |
#group ⇒ Object?
Returns Add user as an member to this group.
58 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 58 attribute :group |
#login_password ⇒ String?
Returns Gitlab password for login_user.
26 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 26 attribute :login_password |
#login_token ⇒ String?
Returns Gitlab token for logging in.
30 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 30 attribute :login_token |
#login_user ⇒ String?
Returns Gitlab user name.
22 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 22 attribute :login_user |
#name ⇒ String
Returns Name of the user you want to create.
34 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 34 attribute :name |
#password ⇒ String
Returns The password of the user.,GitLab server enforces minimum password length to 8, set this value with 8 or more characters.
42 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 42 attribute :password |
#server_url ⇒ String
Returns Url of Gitlab server, with protocol (http or https).
14 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 14 attribute :server_url |
#sshkey_file ⇒ String?
Returns The ssh key itself.
54 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 54 attribute :sshkey_file |
#sshkey_name ⇒ String?
Returns The name of the sshkey.
50 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 50 attribute :sshkey_name |
#state ⇒ :present, ...
Returns create or delete group.,Possible values are present and absent.
64 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 64 attribute :state |
#username ⇒ String
Returns The username of the user.
38 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 38 attribute :username |
#validate_certs ⇒ :yes, ...
Returns When using https if SSL certificate needs to be verified.
18 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_user.rb', line 18 attribute :validate_certs |