mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 12:07:14 +00:00
rolledback removal of parameter from cloud/smartos/vmadm.py
This commit is contained in:
parent
1db75d0de3
commit
c338e40070
4 changed files with 8 additions and 2 deletions
|
|
@ -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'
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue