mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
update to use isdigit and updated tests
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
scm_type: git
|
||||
scm_url: https://github.com/ansible/test-playbooks
|
||||
wait: false
|
||||
register: result
|
||||
register: project_create_result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
- project_create_result is changed
|
||||
|
||||
- name: Update a project without waiting
|
||||
tower_project_update:
|
||||
@@ -43,6 +43,17 @@
|
||||
that:
|
||||
- result is successful
|
||||
|
||||
- name: Update a project by ID
|
||||
tower_project_update:
|
||||
name: "{{ project_create_result.id }}"
|
||||
organization: Default
|
||||
wait: true
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is successful
|
||||
|
||||
- name: Delete the test project 1
|
||||
tower_project:
|
||||
name: "{{ project_name1 }}"
|
||||
|
||||
Reference in New Issue
Block a user