From 0d02c8eb7a52c4b337a020507d1bdb1ce56d3737 Mon Sep 17 00:00:00 2001 From: Tahir Akhtar Date: Tue, 3 Sep 2019 19:41:42 +0500 Subject: [PATCH] Clarity on mutual exclusion of Username and Token (#61668) ##### 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 58acc8d0821d26814e85e6733a54ad158b69e2e0) --- lib/ansible/modules/source_control/github_deploy_key.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/source_control/github_deploy_key.py b/lib/ansible/modules/source_control/github_deploy_key.py index d36cc2bfe267c3..ec1871ddb3ab1d 100644 --- a/lib/ansible/modules/source_control/github_deploy_key.py +++ b/lib/ansible/modules/source_control/github_deploy_key.py @@ -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).