add execution adminitrator to role module

This commit is contained in:
Sean Sullivan
2022-02-08 09:44:50 -05:00
parent 73bba00cc6
commit 94e53d988b
2 changed files with 17 additions and 1 deletions

View File

@@ -85,6 +85,21 @@
that:
- "result is changed"
- name: Add Joe as execution admin to Default Org.
role:
user: "{{ username }}"
role: execution_environment_admin
organizations: Default
state: "{{ item }}"
register: result
with_items:
- "present"
- "absent"
- assert:
that:
- "result is changed"
- name: Create a workflow
workflow_job_template:
name: test-role-workflow