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