Skip to content

Commit

Permalink
Clarity on mutual exclusion of Username and Token (#61668)
Browse files Browse the repository at this point in the history
##### SUMMARY
Although there is an example showing that username is not required with personal access token, it will be nice to more clearly state in options description.
##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
(cherry picked from commit 58acc8d)
  • Loading branch information
tahir-gvs authored and abadger committed Sep 11, 2019
1 parent d39cea4 commit 0d02c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/modules/source_control/github_deploy_key.py
Expand Up @@ -57,10 +57,10 @@
default: 'no'
username:
description:
- The username to authenticate with.
- The username to authenticate with. Should not be set when using personal access token
password:
description:
- The password to authenticate with. A personal access token can be used here in place of a password.
- The password to authenticate with. Alternatively, a personal access token can be used instead of I(username) and I(password) combination.
token:
description:
- The OAuth2 token or personal access token to authenticate with. Mutually exclusive with I(password).
Expand Down

0 comments on commit 0d02c8e

Please sign in to comment.