diff options
author | Sean Sullivan <ssulliva@redhat.com> | 2022-02-08 15:44:50 +0100 |
---|---|---|
committer | Sean Sullivan <ssulliva@redhat.com> | 2022-02-08 15:44:50 +0100 |
commit | 94e53d988bf12a1601a02631fc48109aab3b8979 (patch) | |
tree | 4b278849d715f8db0f4c7ab042f6b4ebff729592 /awx_collection/tests/integration/targets | |
parent | Merge pull request #11670 from keithjgrant/11628-missing-job-output (diff) | |
download | awx-94e53d988bf12a1601a02631fc48109aab3b8979.tar.xz awx-94e53d988bf12a1601a02631fc48109aab3b8979.zip |
add execution adminitrator to role module
Diffstat (limited to 'awx_collection/tests/integration/targets')
-rw-r--r-- | awx_collection/tests/integration/targets/role/tasks/main.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/awx_collection/tests/integration/targets/role/tasks/main.yml b/awx_collection/tests/integration/targets/role/tasks/main.yml index 364ba67183..692b7085e7 100644 --- a/awx_collection/tests/integration/targets/role/tasks/main.yml +++ b/awx_collection/tests/integration/targets/role/tasks/main.yml @@ -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 |