mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-06 21:33:07 +00:00
Fix argument spec for os_subnet and os_zone
Ansible argument spec provides facility to provide choices for the given parameter. Module os_subnet and os_zone spells 'choices' incorrectly. This change fixes these modules, by changing 'choice' to 'choices'. Original Upstream PR: https://github.com/ansible/ansible/pull/65497 Change-Id: I3eed5feeef1234996f22bf8dfe7ecec0bc8eb298 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Sagi Shnaidman
parent
7c52b83b52
commit
ead550d34e
@@ -234,8 +234,8 @@ def main():
|
||||
allocation_pool_start=dict(type='str'),
|
||||
allocation_pool_end=dict(type='str'),
|
||||
host_routes=dict(type='list', default=None),
|
||||
ipv6_ra_mode=dict(type='str', choice=ipv6_mode_choices),
|
||||
ipv6_address_mode=dict(type='str', choice=ipv6_mode_choices),
|
||||
ipv6_ra_mode=dict(type='str', choices=ipv6_mode_choices),
|
||||
ipv6_address_mode=dict(type='str', choices=ipv6_mode_choices),
|
||||
use_default_subnetpool=dict(type='bool', default=False),
|
||||
extra_specs=dict(type='dict', default=dict()),
|
||||
state=dict(type='str', default='present', choices=['absent', 'present']),
|
||||
|
||||
Reference in New Issue
Block a user