mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Converting policy_instance_list from dict to list
This commit is contained in:
@@ -54,7 +54,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- List of exact-match Instances that will be assigned to this group
|
- List of exact-match Instances that will be assigned to this group
|
||||||
required: False
|
required: False
|
||||||
type: dict
|
type: list
|
||||||
pod_spec_override:
|
pod_spec_override:
|
||||||
description:
|
description:
|
||||||
- A custom Kubernetes or OpenShift Pod specification.
|
- A custom Kubernetes or OpenShift Pod specification.
|
||||||
@@ -88,7 +88,7 @@ def main():
|
|||||||
credential=dict(),
|
credential=dict(),
|
||||||
policy_instance_percentage=dict(type='int', default='0'),
|
policy_instance_percentage=dict(type='int', default='0'),
|
||||||
policy_instance_minimum=dict(type='int', default='0'),
|
policy_instance_minimum=dict(type='int', default='0'),
|
||||||
policy_instance_list=dict(type='dict'),
|
policy_instance_list=dict(type='list'),
|
||||||
pod_spec_override=dict(),
|
pod_spec_override=dict(),
|
||||||
instances=dict(required=False, type="list", default=None),
|
instances=dict(required=False, type="list", default=None),
|
||||||
state=dict(choices=['present', 'absent'], default='present'),
|
state=dict(choices=['present', 'absent'], default='present'),
|
||||||
|
|||||||
Reference in New Issue
Block a user