mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
Merge pull request #6370 from AlanCoding/convert_tower_role
Initial conversion of tower_role Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -50,6 +50,18 @@
|
||||
that:
|
||||
- "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
|
||||
tower_user:
|
||||
username: "{{ username }}"
|
||||
|
||||
Reference in New Issue
Block a user