mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Add integration test
This commit is contained in:
parent
8668f2ad46
commit
d9932eaf6a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user