mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-18 10:50:21 -07:00
collection: Change default='no's and 'yes's to default=False and default=True (#556)
* Change default={'no','yes'} to default={False,True} * Add changelog * Remove changelog
This commit is contained in:
parent
004eb6992f
commit
650ae65f24
32 changed files with 58 additions and 58 deletions
|
@ -788,13 +788,13 @@ def proxmox_version(proxmox):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
acpi=dict(type='bool', default='yes'),
|
||||
acpi=dict(type='bool', default=True),
|
||||
agent=dict(type='bool'),
|
||||
args=dict(type='str', default=None),
|
||||
api_host=dict(required=True),
|
||||
api_user=dict(required=True),
|
||||
api_password=dict(no_log=True),
|
||||
autostart=dict(type='bool', default='no'),
|
||||
autostart=dict(type='bool', default=False),
|
||||
balloon=dict(type='int', default=0),
|
||||
bios=dict(choices=['seabios', 'ovmf']),
|
||||
boot=dict(type='str', default='cnd'),
|
||||
|
@ -810,13 +810,13 @@ def main():
|
|||
force=dict(type='bool', default=None),
|
||||
format=dict(type='str', default='qcow2', choices=['cloop', 'cow', 'qcow', 'qcow2', 'qed', 'raw', 'vmdk']),
|
||||
freeze=dict(type='bool'),
|
||||
full=dict(type='bool', default='yes'),
|
||||
full=dict(type='bool', default=True),
|
||||
hostpci=dict(type='dict'),
|
||||
hotplug=dict(type='str'),
|
||||
hugepages=dict(choices=['any', '2', '1024']),
|
||||
ide=dict(type='dict', default=None),
|
||||
keyboard=dict(type='str'),
|
||||
kvm=dict(type='bool', default='yes'),
|
||||
kvm=dict(type='bool', default=True),
|
||||
localtime=dict(type='bool'),
|
||||
lock=dict(choices=['migrate', 'backup', 'snapshot', 'rollback']),
|
||||
machine=dict(type='str'),
|
||||
|
@ -829,7 +829,7 @@ def main():
|
|||
node=dict(),
|
||||
numa=dict(type='dict'),
|
||||
numa_enabled=dict(type='bool'),
|
||||
onboot=dict(type='bool', default='yes'),
|
||||
onboot=dict(type='bool', default=True),
|
||||
ostype=dict(default='l26', choices=['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'l24', 'l26', 'solaris']),
|
||||
parallel=dict(type='dict'),
|
||||
pool=dict(type='str'),
|
||||
|
@ -849,13 +849,13 @@ def main():
|
|||
startup=dict(),
|
||||
state=dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted', 'current']),
|
||||
storage=dict(type='str'),
|
||||
tablet=dict(type='bool', default='no'),
|
||||
tablet=dict(type='bool', default=False),
|
||||
target=dict(type='str'),
|
||||
tdf=dict(type='bool'),
|
||||
template=dict(type='bool', default='no'),
|
||||
template=dict(type='bool', default=False),
|
||||
timeout=dict(type='int', default=30),
|
||||
update=dict(type='bool', default='no'),
|
||||
validate_certs=dict(type='bool', default='no'),
|
||||
update=dict(type='bool', default=False),
|
||||
validate_certs=dict(type='bool', default=False),
|
||||
vcpus=dict(type='int', default=None),
|
||||
vga=dict(default='std', choices=['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']),
|
||||
virtio=dict(type='dict', default=None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue