Tidy up sanity checks ignore lines for source_control/* modules (#1893) (#1896)

* fixed validation-modules for plugins/modules/source_control/git*

* Tidy up sanity checks ignore lines for source_control/* modules

* removed unnecessary ignore lines from 2.9 and 2.11

(cherry picked from commit cf5e9bf44c)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-02-25 10:05:46 +01:00 committed by GitHub
parent 084879632a
commit 2f56fd7b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 45 additions and 33 deletions

View file

@ -29,20 +29,24 @@ options:
- The name of the individual account or organization that owns the GitHub repository.
required: true
aliases: [ 'account', 'organization' ]
type: str
repo:
description:
- The name of the GitHub repository.
required: true
aliases: [ 'repository' ]
type: str
name:
description:
- The name for the deploy key.
required: true
aliases: [ 'title', 'label' ]
type: str
key:
description:
- The SSH public key to add to the repository as a deploy key.
required: true
type: str
read_only:
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.
@ -53,6 +57,7 @@ options:
- The state of the deploy key.
default: "present"
choices: [ "present", "absent" ]
type: str
force:
description:
- If C(true), forcefully adds the deploy key by deleting any existing deploy key with the same public key or title.
@ -61,16 +66,20 @@ options:
username:
description:
- The username to authenticate with. Should not be set when using personal access token
type: str
password:
description:
- The password to authenticate with. Alternatively, a personal access token can be used instead of I(username) and I(password) combination.
type: str
token:
description:
- The OAuth2 token or personal access token to authenticate with. Mutually exclusive with I(password).
type: str
otp:
description:
- The 6 digit One Time Password for 2-Factor Authentication. Required together with I(username) and I(password).
aliases: ['2fa_token']
type: int
notes:
- "Refer to GitHub's API documentation here: https://developer.github.com/v3/repos/keys/."
'''