1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 00:55:06 +03:00

Fixing token documentation (#11550)

This commit is contained in:
John Westcott IV 2022-01-18 14:21:17 -05:00 committed by GitHub
parent 696c0b0055
commit da930ce276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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