|
|
@ -273,7 +273,7 @@ def main():
|
|
|
|
api_user = dict(required=True),
|
|
|
|
api_user = dict(required=True),
|
|
|
|
api_password = dict(no_log=True),
|
|
|
|
api_password = dict(no_log=True),
|
|
|
|
vmid = dict(required=True),
|
|
|
|
vmid = dict(required=True),
|
|
|
|
validate_certs = dict(type='bool', choices=BOOLEANS, default='no'),
|
|
|
|
validate_certs = dict(type='bool', default='no'),
|
|
|
|
node = dict(),
|
|
|
|
node = dict(),
|
|
|
|
password = dict(no_log=True),
|
|
|
|
password = dict(no_log=True),
|
|
|
|
hostname = dict(),
|
|
|
|
hostname = dict(),
|
|
|
@ -284,13 +284,13 @@ def main():
|
|
|
|
swap = dict(type='int', default=0),
|
|
|
|
swap = dict(type='int', default=0),
|
|
|
|
netif = dict(),
|
|
|
|
netif = dict(),
|
|
|
|
ip_address = dict(),
|
|
|
|
ip_address = dict(),
|
|
|
|
onboot = dict(type='bool', choices=BOOLEANS, default='no'),
|
|
|
|
onboot = dict(type='bool', default='no'),
|
|
|
|
storage = dict(default='local'),
|
|
|
|
storage = dict(default='local'),
|
|
|
|
cpuunits = dict(type='int', default=1000),
|
|
|
|
cpuunits = dict(type='int', default=1000),
|
|
|
|
nameserver = dict(),
|
|
|
|
nameserver = dict(),
|
|
|
|
searchdomain = dict(),
|
|
|
|
searchdomain = dict(),
|
|
|
|
timeout = dict(type='int', default=30),
|
|
|
|
timeout = dict(type='int', default=30),
|
|
|
|
force = dict(type='bool', choices=BOOLEANS, default='no'),
|
|
|
|
force = dict(type='bool', default='no'),
|
|
|
|
state = dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted']),
|
|
|
|
state = dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted']),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|