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

rolledback removal of parameter from cloud/smartos/vmadm.py

This commit is contained in:
Alexei Znamensky 2020-11-29 00:13:33 +13:00
parent 1db75d0de3
commit c338e40070
4 changed files with 8 additions and 2 deletions

View file

@ -559,7 +559,7 @@ def create_payload(module, uuid):
p = module.params
# Filter out the few options that are not valid VM properties.
module_options = ['force', 'state']
module_options = ['debug', 'force', 'state']
# @TODO make this a simple {} comprehension as soon as py2 is ditched
# @TODO {k: v for k, v in p.items() if k not in module_options}
vmdef = dict([(k, v) for k, v in p.items() if k not in module_options])
@ -659,7 +659,7 @@ def main():
'zfs_root_compression', 'zpool'
],
'bool': [
'archive_on_delete', 'autoboot', 'delegate_dataset',
'archive_on_delete', 'autoboot', 'debug', 'delegate_dataset',
'docker', 'firewall_enabled', 'force', 'indestructible_delegated',
'indestructible_zoneroot', 'maintain_resolvers', 'nowait'
],

View file

@ -188,6 +188,8 @@ plugins/modules/cloud/smartos/imgadm.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/imgadm.py validate-modules:no-default-for-required-parameter
plugins/modules/cloud/smartos/smartos_image_info.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type

View file

@ -188,6 +188,8 @@ plugins/modules/cloud/smartos/imgadm.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/imgadm.py validate-modules:no-default-for-required-parameter
plugins/modules/cloud/smartos/smartos_image_info.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type

View file

@ -171,6 +171,8 @@ plugins/modules/cloud/scaleway/scaleway_volume_info.py validate-modules:return-s
plugins/modules/cloud/smartos/imgadm.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/imgadm.py validate-modules:no-default-for-required-parameter
plugins/modules/cloud/smartos/smartos_image_info.py validate-modules:doc-missing-type
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:parameter-type-not-in-doc