mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Merge pull request #6347 from squidboylan/fix_collection_test
Collection: Fix some tests that broke during the random name update Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
- name: Add Joe to workflow execute role
|
- name: Add Joe to workflow execute role
|
||||||
tower_role:
|
tower_role:
|
||||||
user: joe
|
user: "{{ username }}"
|
||||||
role: execute
|
role: execute
|
||||||
workflow: test-role-workflow
|
workflow: test-role-workflow
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
- name: Create a workflow job template
|
- name: Create a workflow job template
|
||||||
tower_workflow_template:
|
tower_workflow_template:
|
||||||
name: "{{ wfjt_name }}"
|
name: "{{ wfjt_name }}"
|
||||||
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
|
schema: [{"success": [{"job_template": "{{ jt1_name }}"}], "job_template": "{{ jt2_name }}"}]
|
||||||
extra_vars: {'foo': 'bar', 'another-foo': {'barz': 'bar2'}}
|
extra_vars: {'foo': 'bar', 'another-foo': {'barz': 'bar2'}}
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
tower_workflow_template:
|
tower_workflow_template:
|
||||||
name: "{{ wfjt_name }}"
|
name: "{{ wfjt_name }}"
|
||||||
organization: Non Existing Organization
|
organization: Non Existing Organization
|
||||||
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
|
schema: [{"success": [{"job_template": "{{ jt1_name }}"}], "job_template": "{{ jt2_name }}"}]
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user