Class: Ansible::Ruby::Modules::Gitlab_project

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.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

#descriptionObject?

Returns An description for the project.

Returns:

  • (Object, nil)

    An description for the project.



41
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 41

attribute :description

#groupString?

Returns The name of the group of which this projects belongs to.,When not provided, project will belong to user which is configured in ‘login_user’ or ‘login_token’,When provided with username, project will be created for this user. ‘login_user’ or ‘login_token’ needs admin rights.

Returns:

  • (String, nil)

    The name of the group of which this projects belongs to.,When not provided, project will belong to user which is configured in ‘login_user’ or ‘login_token’,When provided with username, project will be created for this user. ‘login_user’ or ‘login_token’ needs admin rights.



30
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 30

attribute :group

#import_urlBoolean?

Returns Git repository which will me imported into gitlab.,Gitlab server needs read access to this git repository.

Returns:

  • (Boolean, nil)

    Git repository which will me imported into gitlab.,Gitlab server needs read access to this git repository.



68
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 68

attribute :import_url

#issues_enabledBoolean?

Returns Whether you want to create issues or not.,Possible values are true and false.

Returns:

  • (Boolean, nil)

    Whether you want to create issues or not.,Possible values are true and false.



44
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 44

attribute :issues_enabled

#login_passwordString?

Returns Gitlab password for login_user.

Returns:

  • (String, nil)

    Gitlab password for login_user



22
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 22

attribute :login_password

#login_tokenString?

Returns Gitlab token for logging in.

Returns:

  • (String, nil)

    Gitlab token for logging in.



26
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 26

attribute :login_token

#login_userString?

Returns Gitlab user name.

Returns:

  • (String, nil)

    Gitlab user name.



18
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 18

attribute :login_user

#merge_requests_enabledBoolean?

Returns If merge requests can be made or not.,Possible values are true and false.

Returns:

  • (Boolean, nil)

    If merge requests can be made or not.,Possible values are true and false.



48
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 48

attribute :merge_requests_enabled

#nameString

Returns The name of the project.

Returns:

  • (String)

    The name of the project



34
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 34

attribute :name

#pathObject?

Returns The path of the project you want to create, this will be server_url/<group>/path,If not supplied, name will be used.

Returns:

  • (Object, nil)

    The path of the project you want to create, this will be server_url/<group>/path,If not supplied, name will be used.



38
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 38

attribute :path

#publicBoolean?

Returns If the project is public available or not.,Setting this to true is same as setting visibility_level to 20.,Possible values are true and false.

Returns:

  • (Boolean, nil)

    If the project is public available or not.,Setting this to true is same as setting visibility_level to 20.,Possible values are true and false.



60
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 60

attribute :public

#server_urlString

Returns Url of Gitlab server, with protocol (http or https).

Returns:

  • (String)

    Url of Gitlab server, with protocol (http or https).



10
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 10

attribute :server_url

#snippets_enabledBoolean?

Returns If creating snippets should be available or not.,Possible values are true and false.

Returns:

  • (Boolean, nil)

    If creating snippets should be available or not.,Possible values are true and false.



56
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 56

attribute :snippets_enabled

#state:present, ...

Returns create or delete project.,Possible values are present and absent.

Returns:

  • (:present, :absent, nil)

    create or delete project.,Possible values are present and absent.



72
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 72

attribute :state

#validate_certsBoolean?

Returns When using https if SSL certificate needs to be verified.

Returns:

  • (Boolean, nil)

    When using https if SSL certificate needs to be verified.



14
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 14

attribute :validate_certs

#visibility_levelInteger?

Returns Private. visibility_level is 0. Project access must be granted explicitly for each user.,Internal. visibility_level is 10. The project can be cloned by any logged in user.,Public. visibility_level is 20. The project can be cloned without any authentication.,Possible values are 0, 10 and 20.

Returns:

  • (Integer, nil)

    Private. visibility_level is 0. Project access must be granted explicitly for each user.,Internal. visibility_level is 10. The project can be cloned by any logged in user.,Public. visibility_level is 20. The project can be cloned without any authentication.,Possible values are 0, 10 and 20.



64
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 64

attribute :visibility_level

#wiki_enabledBoolean?

Returns If an wiki for this project should be available or not.,Possible values are true and false.

Returns:

  • (Boolean, nil)

    If an wiki for this project should be available or not.,Possible values are true and false.



52
# File 'lib/ansible/ruby/modules/generated/extras/source_control/gitlab_project.rb', line 52

attribute :wiki_enabled