diff --git a/awx_collection/plugins/doc_fragments/auth.py b/awx_collection/plugins/doc_fragments/auth.py index f8241e1c7841..763fe94dcddf 100644 --- a/awx_collection/plugins/doc_fragments/auth.py +++ b/awx_collection/plugins/doc_fragments/auth.py @@ -32,6 +32,16 @@ class ModuleDocFragment(object): - If value not set, will try environment variable C(CONTROLLER_PASSWORD) and then config files type: str aliases: [ tower_password ] + controller_oauthtoken: + description: + - The OAuth token to use. + - This value can be in one of two formats. + - A string which is the token itself. (i.e. bqV5txm97wqJqtkxlMkhQz0pKhRMMX) + - A dictionary structure as returned by the token module. + - If value not set, will try environment variable C(CONTROLLER_OAUTH_TOKEN) and then config files + type: raw + version_added: "3.7.0" + aliases: [ tower_oauthtoken ] validate_certs: description: - Whether to allow insecure connections to AWX. diff --git a/awx_collection/plugins/doc_fragments/auth_plugin.py b/awx_collection/plugins/doc_fragments/auth_plugin.py index 49118baf714f..b46eaf6bbf03 100644 --- a/awx_collection/plugins/doc_fragments/auth_plugin.py +++ b/awx_collection/plugins/doc_fragments/auth_plugin.py @@ -43,6 +43,17 @@ class ModuleDocFragment(object): version: '4.0.0' why: Collection name change alternatives: 'CONTROLLER_PASSWORD' + oauth_token: + description: + - The OAuth token to use. + env: + - name: CONTROLLER_OAUTH_TOKEN + - name: TOWER_OAUTH_TOKEN + deprecated: + collection_name: 'awx.awx' + version: '4.0.0' + why: Collection name change + alternatives: 'CONTROLLER_OAUTH_TOKEN' verify_ssl: description: - Specify whether Ansible should verify the SSL certificate of the controller host.