mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 04:47:44 -02:30
more rename, mostly in test
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
token_description: "AWX-Collection-tests-tower_token-description-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||
|
||||
- name: Try to use a token as a dict which is missing the token parameter
|
||||
tower_job_list:
|
||||
job_list:
|
||||
oauthtoken:
|
||||
not_token: "This has no token entry"
|
||||
register: results
|
||||
@@ -16,7 +16,7 @@
|
||||
- '"The provided dict in tower_oauthtoken did not properly contain the token entry" == results.msg'
|
||||
|
||||
- name: Try to use a token as a list
|
||||
tower_job_list:
|
||||
job_list:
|
||||
oauthtoken:
|
||||
- dummy_token
|
||||
register: results
|
||||
@@ -62,12 +62,12 @@
|
||||
register: new_token
|
||||
|
||||
- name: Validate our token works by token
|
||||
tower_job_list:
|
||||
job_list:
|
||||
tower_oauthtoken: "{{ tower_token.token }}"
|
||||
register: job_list
|
||||
|
||||
- name: Validate out token works by object
|
||||
tower_job_list:
|
||||
job_list:
|
||||
tower_oauthtoken: "{{ tower_token }}"
|
||||
register: job_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user