mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Add integration test
This commit is contained in:
@@ -28,6 +28,24 @@
|
||||
that:
|
||||
- "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
|
||||
tower_user:
|
||||
username: joe
|
||||
|
||||
Reference in New Issue
Block a user