Adjust booleans in source control modules. (#5158)

This commit is contained in:
Felix Fontein
2022-08-24 19:59:56 +02:00
committed by GitHub
parent 35a283918a
commit 675bdef190
14 changed files with 68 additions and 68 deletions

View File

@@ -53,7 +53,7 @@ options:
description:
- If C(true), the deploy key will only be able to read repository contents. Otherwise, the deploy key will be able to read and write.
type: bool
default: 'yes'
default: true
state:
description:
- The state of the deploy key.
@@ -64,7 +64,7 @@ options:
description:
- If C(true), forcefully adds the deploy key by deleting any existing deploy key with the same public key or title.
type: bool
default: 'no'
default: false
username:
description:
- The username to authenticate with. Should not be set when using personal access token
@@ -92,7 +92,7 @@ EXAMPLES = '''
repo: "example"
name: "new-deploy-key"
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAwXxn7kIMNWzcDfou..."
read_only: yes
read_only: true
username: "johndoe"
password: "supersecretpassword"
@@ -102,7 +102,7 @@ EXAMPLES = '''
repository: "example"
name: "new-deploy-key"
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAwXxn7kIMNWzcDfou..."
force: yes
force: true
username: "johndoe"
password: "supersecretpassword"
state: absent
@@ -113,7 +113,7 @@ EXAMPLES = '''
repository: "example"
name: "new-deploy-key"
key: "{{ lookup('file', '~/.ssh/github.pub') }}"
force: yes
force: true
token: "ABAQDAwXxn7kIMNWzcDfo..."
- name: Re-add a deploy key to a GitHub repository but with a different name
@@ -142,7 +142,7 @@ EXAMPLES = '''
repo: "example"
name: "new-deploy-key"
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAwXxn7kIMNWzcDfou..."
read_only: yes
read_only: true
username: "janedoe"
password: "supersecretpassword"
'''