mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-03 14:59:09 -07:00
Adjust booleans in source control modules. (#5158)
This commit is contained in:
parent
35a283918a
commit
675bdef190
14 changed files with 68 additions and 68 deletions
|
@ -46,7 +46,7 @@ options:
|
|||
description:
|
||||
- Whether this key can push to the project.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
state:
|
||||
description:
|
||||
- When C(present) the deploy key added to the project if it doesn't exist.
|
||||
|
@ -73,7 +73,7 @@ EXAMPLES = '''
|
|||
project: "my_group/my_project"
|
||||
title: "Jenkins CI"
|
||||
state: present
|
||||
can_push: yes
|
||||
can_push: true
|
||||
|
||||
- name: "Remove the previous deploy key from the project"
|
||||
community.general.gitlab_deploy_key:
|
||||
|
|
|
@ -49,7 +49,7 @@ options:
|
|||
description:
|
||||
- Trigger hook on push events.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
push_events_branch_filter:
|
||||
description:
|
||||
- Branch name of wildcard to trigger hook on push events
|
||||
|
@ -59,42 +59,42 @@ options:
|
|||
description:
|
||||
- Trigger hook on issues events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
merge_requests_events:
|
||||
description:
|
||||
- Trigger hook on merge requests events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
tag_push_events:
|
||||
description:
|
||||
- Trigger hook on tag push events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
note_events:
|
||||
description:
|
||||
- Trigger hook on note events or when someone adds a comment.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
job_events:
|
||||
description:
|
||||
- Trigger hook on job events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
pipeline_events:
|
||||
description:
|
||||
- Trigger hook on pipeline events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
wiki_page_events:
|
||||
description:
|
||||
- Trigger hook on wiki events.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
hook_validate_certs:
|
||||
description:
|
||||
- Whether GitLab will do SSL verification when triggering the hook.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
aliases: [ enable_ssl_verification ]
|
||||
token:
|
||||
description:
|
||||
|
@ -113,9 +113,9 @@ EXAMPLES = '''
|
|||
project: "my_group/my_project"
|
||||
hook_url: "https://my-ci-server.example.com/gitlab-hook"
|
||||
state: present
|
||||
push_events: yes
|
||||
tag_push_events: yes
|
||||
hook_validate_certs: no
|
||||
push_events: true
|
||||
tag_push_events: true
|
||||
hook_validate_certs: false
|
||||
token: "my-super-secret-token-that-my-ci-server-will-check"
|
||||
|
||||
- name: "Delete the previous hook"
|
||||
|
|
|
@ -58,23 +58,23 @@ options:
|
|||
- Whether you want to create issues or not.
|
||||
- Possible values are true and false.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
merge_requests_enabled:
|
||||
description:
|
||||
- If merge requests can be made or not.
|
||||
- Possible values are true and false.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
wiki_enabled:
|
||||
description:
|
||||
- If an wiki for this project should be available or not.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
snippets_enabled:
|
||||
description:
|
||||
- If creating snippets should be available or not.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
visibility:
|
||||
description:
|
||||
- C(private) Project access must be granted explicitly for each user.
|
||||
|
|
|
@ -117,8 +117,8 @@ EXAMPLES = '''
|
|||
value: abc123
|
||||
- name: SECRET_ACCESS_KEY
|
||||
value: dassgrfaeui8989
|
||||
masked: yes
|
||||
protected: yes
|
||||
masked: true
|
||||
protected: true
|
||||
environment_scope: production
|
||||
|
||||
- name: Set or update some CI/CD variables
|
||||
|
|
|
@ -66,14 +66,14 @@ options:
|
|||
description:
|
||||
- Searches only runners available to the user when searching for existing, when false admin token required.
|
||||
- Mutually exclusive with I(project) since community.general 4.5.0.
|
||||
default: no
|
||||
default: false
|
||||
type: bool
|
||||
version_added: 2.0.0
|
||||
active:
|
||||
description:
|
||||
- Define if the runners is immediately active after creation.
|
||||
required: False
|
||||
default: yes
|
||||
default: true
|
||||
type: bool
|
||||
locked:
|
||||
description:
|
||||
|
@ -100,7 +100,7 @@ options:
|
|||
description:
|
||||
- Run untagged jobs or not.
|
||||
required: False
|
||||
default: yes
|
||||
default: true
|
||||
type: bool
|
||||
tag_list:
|
||||
description: The tags that apply to the runner.
|
||||
|
@ -135,7 +135,7 @@ EXAMPLES = '''
|
|||
api_url: https://gitlab.example.com/
|
||||
api_token: "{{ access_token }}"
|
||||
description: Docker Machine t1
|
||||
owned: yes
|
||||
owned: true
|
||||
state: absent
|
||||
|
||||
- name: Register runner for a specific project
|
||||
|
|
|
@ -102,17 +102,17 @@ options:
|
|||
description:
|
||||
- Require confirmation.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
isadmin:
|
||||
description:
|
||||
- Grant admin privileges to the user.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
external:
|
||||
description:
|
||||
- Define external parameter for this user.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
identities:
|
||||
description:
|
||||
- List of identities to be added/updated for this user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue