diff --git a/plugins/modules/proxmox.py b/plugins/modules/proxmox.py index 90d8078a02..f47ae26e10 100644 --- a/plugins/modules/proxmox.py +++ b/plugins/modules/proxmox.py @@ -48,6 +48,7 @@ options: [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=])." - See U(https://pve.proxmox.com/wiki/Linux_Container) for a full description. - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(3). + - Should not be used in conjunction with O(storage). type: str cores: description: @@ -96,6 +97,7 @@ options: storage: description: - target storage + - Should not be used in conjunction with O(disk). type: str default: 'local' ostype: @@ -248,6 +250,18 @@ EXAMPLES = r''' hostname: example.org ostemplate: 'local:vztmpl/ubuntu-14.04-x86_64.tar.gz' +- name: Create new container with minimal options specifying disk storage location and size + community.general.proxmox: + vmid: 100 + node: uk-mc02 + api_user: root@pam + api_password: 1q2w3e + api_host: node1 + password: 123456 + hostname: example.org + ostemplate: 'local:vztmpl/ubuntu-14.04-x86_64.tar.gz' + disk: 'local-lvm:20' + - name: Create new container with hookscript and description community.general.proxmox: vmid: 100