update to use isdigit and updated tests

This commit is contained in:
sean-m-sullivan
2020-09-02 07:19:11 -05:00
parent 532447ed40
commit e2bf3a0287
2 changed files with 16 additions and 5 deletions

View File

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