17 lines
610 B
YAML
17 lines
610 B
YAML
---
|
|
- name: Create new container
|
|
community.general.proxmox:
|
|
node: "{{ proxmox_node }}"
|
|
api_host: "{{ proxmox_api_host }}"
|
|
api_user: "{{ proxmox_api_user }}"
|
|
api_password: "{{ proxmox_api_password }}"
|
|
hostname: "{{ proxmox_ct_create_hostname }}"
|
|
pubkey: "{{ proxmox_ct_create_pubkey }}"
|
|
ostemplate: "{{ proxmox_ct_create_ostemplate }}"
|
|
cores: 2
|
|
memory: "{{ proxmox_ct_create_ram }}"
|
|
swap: "{{ proxmox_ct_create_swap}}"
|
|
netif: "{{ proxmox_ct_create_net_config }}"
|
|
vmid: "{{ proxmox_ct_create_vmid | default(999999) }}"
|
|
tags: "{{ proxmox_ct_create_tags}}"
|
|
... |