From 43c8231f7de158fee91234365c40ab9f98d75f3a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 26 Jan 2022 16:10:02 -0500 Subject: [PATCH] fix deprecated indentation and type (#11599) * fix deprecated indentation and type This was breaking docs build for any plugins that used this fragment fixes #10776 --- .../plugins/doc_fragments/auth_plugin.py | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/awx_collection/plugins/doc_fragments/auth_plugin.py b/awx_collection/plugins/doc_fragments/auth_plugin.py index 50743d0a79..5a3a12b0e0 100644 --- a/awx_collection/plugins/doc_fragments/auth_plugin.py +++ b/awx_collection/plugins/doc_fragments/auth_plugin.py @@ -18,42 +18,42 @@ options: env: - name: CONTROLLER_HOST - name: TOWER_HOST - deprecated: - - removed_from_collection: 'awx.awx.controller' - - removed_in: '4.0.0' - - why: Collection name change - - alternative: 'CONTROLLER_HOST' + deprecated: + collection_name: 'awx.awx' + version: '4.0.0' + why: Collection name change + alternatives: 'CONTROLLER_HOST' username: description: The user that you plan to use to access inventories on the controller. env: - name: CONTROLLER_USERNAME - name: TOWER_USERNAME - deprecated: - - removed_from_collection: 'awx.awx.controller' - - removed_in: '4.0.0' - - why: Collection name change - - alternative: 'CONTROLLER_USERNAME' + deprecated: + collection_name: 'awx.awx' + version: '4.0.0' + why: Collection name change + alternatives: 'CONTROLLER_USERNAME' password: description: The password for your controller user. env: - name: CONTROLLER_PASSWORD - name: TOWER_PASSWORD - deprecated: - - removed_from_collection: 'awx.awx.controller' - - removed_in: '4.0.0' - - why: Collection name change - - alternative: 'CONTROLLER_PASSWORD' + deprecated: + collection_name: 'awx.awx' + 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: - - removed_from_collection: 'awx.awx.controller' - - removed_in: '4.0.0' - - why: Collection name change - - alternative: 'CONTROLLER_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. @@ -62,11 +62,11 @@ options: env: - name: CONTROLLER_VERIFY_SSL - name: TOWER_VERIFY_SSL - deprecated: - - removed_from_collection: 'awx.awx.controller' - - removed_in: '4.0.0' - - why: Collection name change - - alternative: 'CONTROLLER_VERIFY_SSL' + deprecated: + collection_name: 'awx.awx' + version: '4.0.0' + why: Collection name change + alternatives: 'CONTROLLER_VERIFY_SSL' aliases: [ validate_certs ] notes: