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

support proxmox resource pool (#2859)

This commit is contained in:
Pitsanu Swangpheaw 2016-10-25 11:30:47 +07:00 committed by Matt Clay
parent cbde91d765
commit 034f7d8b52

View file

@ -55,6 +55,12 @@ options:
- for another states will be autodiscovered
default: null
required: false
pool:
description:
- Proxmox VE resource pool
default: null
required: false
version_added: "2.3"
password:
description:
- the instance root password
@ -306,6 +312,7 @@ def main():
vmid = dict(required=True),
validate_certs = dict(type='bool', default='no'),
node = dict(),
pool = dict(),
password = dict(no_log=True),
hostname = dict(),
ostemplate = dict(),
@ -374,6 +381,7 @@ def main():
% (module.params['ostemplate'], node, template_store))
create_instance(module, proxmox, vmid, node, disk, storage, cpus, memory, swap, timeout,
pool = module.params['pool'],
password = module.params['password'],
hostname = module.params['hostname'],
ostemplate = module.params['ostemplate'],