From 59d7ce6c3be802d24e91b1c589dfab0b4e0afcd4 Mon Sep 17 00:00:00 2001 From: stoned Date: Wed, 8 May 2019 13:11:51 -0400 Subject: [PATCH] Add missing roles to tower_role module (#56182) * Add missing roles to tower_role module * Placate 'ansible-test sanity --test pep8' --- .../modules/web_infrastructure/ansible_tower/tower_role.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py index cc3ce15577..9e6d6941fd 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py @@ -33,7 +33,8 @@ options: description: - The role type to grant/revoke. required: True - choices: ["admin", "read", "member", "execute", "adhoc", "update", "use", "auditor"] + choices: ["admin", "read", "member", "execute", "adhoc", "update", "use", "auditor", "project_admin", "inventory_admin", "credential_admin", + "workflow_admin", "notification_admin", "job_template_admin"] target_team: description: - Team that the role acts on. @@ -113,7 +114,8 @@ def main(): argument_spec = dict( user=dict(), team=dict(), - role=dict(choices=["admin", "read", "member", "execute", "adhoc", "update", "use", "auditor"]), + role=dict(choices=["admin", "read", "member", "execute", "adhoc", "update", "use", "auditor", "project_admin", "inventory_admin", "credential_admin", + "workflow_admin", "notification_admin", "job_template_admin"]), target_team=dict(), inventory=dict(), job_template=dict(),