summaryrefslogtreecommitdiffstats
path: root/awx_collection/plugins/modules/instance_group.py
diff options
context:
space:
mode:
authorSarabraj Singh <sarsingh@redhat.com>2021-05-25 16:29:19 +0200
committerSeth Foster <fosterbseth@gmail.com>2021-06-08 20:33:27 +0200
commit535bbfcc39918a16d7c4ea65f7dfb81b76e5b033 (patch)
tree40cc4999dc1895ab1a4a569294ce773eb3049042 /awx_collection/plugins/modules/instance_group.py
parentswitched to semenatic versioning for version numbers in plugins, library and ... (diff)
downloadawx-535bbfcc39918a16d7c4ea65f7dfb81b76e5b033.tar.xz
awx-535bbfcc39918a16d7c4ea65f7dfb81b76e5b033.zip
fixed validate-modules sanity tests
Diffstat (limited to 'awx_collection/plugins/modules/instance_group.py')
-rw-r--r--awx_collection/plugins/modules/instance_group.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/awx_collection/plugins/modules/instance_group.py b/awx_collection/plugins/modules/instance_group.py
index bd511dbe13..e30db12d6a 100644
--- a/awx_collection/plugins/modules/instance_group.py
+++ b/awx_collection/plugins/modules/instance_group.py
@@ -58,6 +58,7 @@ options:
- List of exact-match Instances that will be assigned to this group
required: False
type: list
+ elements: str
pod_spec_override:
description:
- A custom Kubernetes or OpenShift Pod specification.
@@ -68,6 +69,7 @@ options:
- The instances associated with this instance_group
required: False
type: list
+ elements: str
state:
description:
- Desired state of the resource.
@@ -89,12 +91,12 @@ def main():
name=dict(required=True),
new_name=dict(),
credential=dict(),
- is_container_group=dict(type='bool', default=False),
+ is_container_group=dict(type='bool', default=None),
policy_instance_percentage=dict(type='int', default='0'),
policy_instance_minimum=dict(type='int', default='0'),
- policy_instance_list=dict(type='list'),
+ policy_instance_list=dict(type='list', elements='str'),
pod_spec_override=dict(),
- instances=dict(required=False, type="list", default=None),
+ instances=dict(required=False, type="list", elements='str', default=None),
state=dict(choices=['present', 'absent'], default='present'),
)