From da930ce2768dedfdb8f1b89a8fd2f0416dc1daa9 Mon Sep 17 00:00:00 2001 From: John Westcott IV <32551173+john-westcott-iv@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:21:17 -0500 Subject: [PATCH] Fixing token documentation (#11550) --- awx_collection/plugins/modules/token.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx_collection/plugins/modules/token.py b/awx_collection/plugins/modules/token.py index ff0f4b8441..27e72fe68d 100644 --- a/awx_collection/plugins/modules/token.py +++ b/awx_collection/plugins/modules/token.py @@ -74,7 +74,7 @@ EXAMPLES = ''' - name: Delete this token token: - existing_token: "{{ token }}" + existing_token: "{{ controller_token }}" state: absent - name: Create a new token using username/password @@ -87,12 +87,12 @@ EXAMPLES = ''' - name: Use our new token to make another call job_list: - controller_oauthtoken: "{{ token }}" + controller_oauthtoken: "{{ controller_token }}" always: - name: Delete our Token with the token we created token: - existing_token: "{{ token }}" + existing_token: "{{ controller_token }}" state: absent when: token is defined