mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Adjust booleans in cloud modules. (#5155)
This commit is contained in:
@@ -36,12 +36,12 @@ options:
|
||||
force:
|
||||
description:
|
||||
- For removal from config file, even if removing disk snapshot fails.
|
||||
default: no
|
||||
default: false
|
||||
type: bool
|
||||
vmstate:
|
||||
description:
|
||||
- Snapshot includes RAM.
|
||||
default: no
|
||||
default: false
|
||||
type: bool
|
||||
description:
|
||||
description:
|
||||
@@ -175,8 +175,8 @@ def main():
|
||||
state=dict(default='present', choices=['present', 'absent', 'rollback']),
|
||||
description=dict(type='str'),
|
||||
snapname=dict(type='str', default='ansible_snap'),
|
||||
force=dict(type='bool', default='no'),
|
||||
vmstate=dict(type='bool', default='no'),
|
||||
force=dict(type='bool', default=False),
|
||||
vmstate=dict(type='bool', default=False),
|
||||
)
|
||||
module_args.update(snap_args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user