mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
add tests
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: Update a project without waiting
|
||||
tower_project_update:
|
||||
name: "AWX-Collection-tests-tower_job_template-proj-{{ test_id }}"
|
||||
organization: Default
|
||||
wait: False
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
- name: Update a project and wait
|
||||
tower_project_update:
|
||||
name: "AWX-Collection-tests-tower_job_template-proj-{{ test_id }}"
|
||||
organization: Default
|
||||
wait: True
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
Reference in New Issue
Block a user