summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoned <stoned.elipot@gmail.com>2019-05-08 13:11:51 -0400
committeransibot <ansibot@users.noreply.github.com>2019-05-08 13:11:50 -0400
commit59d7ce6c3be802d24e91b1c589dfab0b4e0afcd4 (patch)
tree12cfc722ca9f328597507d75b7b6f9501d571cc4
parent463a7ff5cab37404038eba975af8ca93da98f708 (diff)
downloadansible-59d7ce6c3be802d24e91b1c589dfab0b4e0afcd4.tar.gz
Add missing roles to tower_role module (#56182)
* Add missing roles to tower_role module * Placate 'ansible-test sanity --test pep8'
-rw-r--r--lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py6
1 files 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(),