add tests

This commit is contained in:
sean-m-sullivan 2020-08-11 09:28:17 -05:00
parent 7089c5f06e
commit af1fc5a9e9

View File

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