summaryrefslogtreecommitdiffstats
path: root/awx_collection/plugins/modules
diff options
context:
space:
mode:
authorLorenzo Tanganelli <35271287+tanganellilore@users.noreply.github.com>2023-04-04 16:09:48 +0200
committerGitHub <noreply@github.com>2023-04-04 16:09:48 +0200
commit479d0c2b12c0766a53ad28bea10cd904e6b3c504 (patch)
treeea61f479fe20391fa63f958460a09f065fc37d83 /awx_collection/plugins/modules
parentMerge pull request #13786 from AlanCoding/refresh_refresh_refresh (diff)
downloadawx-479d0c2b12c0766a53ad28bea10cd904e6b3c504.tar.xz
awx-479d0c2b12c0766a53ad28bea10cd904e6b3c504.zip
add instance_groups on cli and awx.awx.role (#13784)
Diffstat (limited to 'awx_collection/plugins/modules')
-rw-r--r--awx_collection/plugins/modules/role.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/awx_collection/plugins/modules/role.py b/awx_collection/plugins/modules/role.py
index 51ed564397..bc7f9ea803 100644
--- a/awx_collection/plugins/modules/role.py
+++ b/awx_collection/plugins/modules/role.py
@@ -116,6 +116,11 @@ options:
- Project the role acts on.
type: list
elements: str
+ instance_groups:
+ description:
+ - Instance Group the role acts on.
+ type: list
+ elements: str
state:
description:
- Desired state.
@@ -193,6 +198,7 @@ def main():
lookup_organization=dict(),
project=dict(),
projects=dict(type='list', elements='str'),
+ instance_groups=dict(type='list', elements='str'),
state=dict(choices=['present', 'absent'], default='present'),
)