1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Changed datacenter Required to False since default is set. Fixes 'required and default are mutually exclusive for datacenter' error. Fixes 21076 (#21492)

This commit is contained in:
rollerwhrtn 2017-02-27 09:15:06 -05:00 committed by jctanner
parent 13dd4b108c
commit e8ef826976

View file

@ -107,7 +107,7 @@ options:
datacenter: datacenter:
description: description:
- Destination datacenter for the deploy operation - Destination datacenter for the deploy operation
required: True required: False
default: ha-datacenter default: ha-datacenter
cluster: cluster:
description: description:
@ -1262,7 +1262,7 @@ def main():
disk=dict(required=False, type='list', default=[]), disk=dict(required=False, type='list', default=[]),
hardware=dict(required=False, type='dict', default={}), hardware=dict(required=False, type='dict', default={}),
force=dict(required=False, type='bool', default=False), force=dict(required=False, type='bool', default=False),
datacenter=dict(required=True, type='str', default='ha-datacenter'), datacenter=dict(required=False, type='str', default='ha-datacenter'),
esxi_hostname=dict(required=False, type='str', default=None), esxi_hostname=dict(required=False, type='str', default=None),
cluster=dict(required=False, type='str', default=None), cluster=dict(required=False, type='str', default=None),
wait_for_ip_address=dict(required=False, type='bool', default=False), wait_for_ip_address=dict(required=False, type='bool', default=False),