mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
Add coverage from issue resolved with tower_role conversion
This commit is contained in:
@@ -50,6 +50,18 @@
|
|||||||
that:
|
that:
|
||||||
- "result is changed"
|
- "result is changed"
|
||||||
|
|
||||||
|
- name: Add Joe to workflow execute role, no-op
|
||||||
|
tower_role:
|
||||||
|
user: "{{ username }}"
|
||||||
|
role: execute
|
||||||
|
workflow: test-role-workflow
|
||||||
|
state: present
|
||||||
|
register: result
|
||||||
|
|
||||||
|
- assert:
|
||||||
|
that:
|
||||||
|
- "result is not changed"
|
||||||
|
|
||||||
- name: Delete a User
|
- name: Delete a User
|
||||||
tower_user:
|
tower_user:
|
||||||
username: "{{ username }}"
|
username: "{{ username }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user