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
This commit is contained in:
Tahir Akhtar 2019-09-03 19:41:42 +05:00 committed by John R Barker
parent 8e22a60f97
commit 58acc8d082

View file

@ -57,10 +57,10 @@ options:
default: 'no' default: 'no'
username: username:
description: description:
- The username to authenticate with. - The username to authenticate with. Should not be set when using personal access token
password: password:
description: 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: token:
description: description:
- The OAuth2 token or personal access token to authenticate with. Mutually exclusive with I(password). - The OAuth2 token or personal access token to authenticate with. Mutually exclusive with I(password).