mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
Fixing token documentation (#11550)
This commit is contained in:
@@ -74,7 +74,7 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- name: Delete this token
|
- name: Delete this token
|
||||||
token:
|
token:
|
||||||
existing_token: "{{ token }}"
|
existing_token: "{{ controller_token }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Create a new token using username/password
|
- name: Create a new token using username/password
|
||||||
@@ -87,12 +87,12 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- name: Use our new token to make another call
|
- name: Use our new token to make another call
|
||||||
job_list:
|
job_list:
|
||||||
controller_oauthtoken: "{{ token }}"
|
controller_oauthtoken: "{{ controller_token }}"
|
||||||
|
|
||||||
always:
|
always:
|
||||||
- name: Delete our Token with the token we created
|
- name: Delete our Token with the token we created
|
||||||
token:
|
token:
|
||||||
existing_token: "{{ token }}"
|
existing_token: "{{ controller_token }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: token is defined
|
when: token is defined
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user