Add missing roles to tower_role module (#56182)

* Add missing roles to tower_role module

* Placate 'ansible-test sanity --test pep8'
This commit is contained in:
stoned 2019-05-08 13:11:51 -04:00 committed by AlanCoding
parent ba8bd25da2
commit 4ca0d8c72a
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -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(),