mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Add integration test
This commit is contained in:
@@ -28,6 +28,24 @@
|
|||||||
that:
|
that:
|
||||||
- "result is changed"
|
- "result is changed"
|
||||||
|
|
||||||
|
- name: Create a workflow
|
||||||
|
tower_workflow_template:
|
||||||
|
name: test-role-workflow
|
||||||
|
organization: Default
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add Joe to workflow execute role
|
||||||
|
tower_role:
|
||||||
|
user: joe
|
||||||
|
role: execute
|
||||||
|
workflow: test-role-workflow
|
||||||
|
state: present
|
||||||
|
register: result
|
||||||
|
|
||||||
|
- assert:
|
||||||
|
that:
|
||||||
|
- "result is changed"
|
||||||
|
|
||||||
- name: Delete a User
|
- name: Delete a User
|
||||||
tower_user:
|
tower_user:
|
||||||
username: joe
|
username: joe
|
||||||
|
|||||||
Reference in New Issue
Block a user