Adjust booleans in source control modules. (#5158) (#5172)

(cherry picked from commit 675bdef190)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:21:52 +02:00 committed by GitHub
parent 9345db2001
commit 41993d44e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"
'''