You've already forked role_proxmox
feat: Create role
This commit is contained in:
82
defaults/main.yml
Normal file
82
defaults/main.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
---
|
||||
# vars file for proxmox
|
||||
|
||||
# Images list to download
|
||||
proxmox_images: []
|
||||
# Example:
|
||||
# - url: "https://cloud.debian.org/images/cloud/bookworm-backports/latest/debian-12-backports-genericcloud-amd64.qcow2"
|
||||
# dest: /mnt/pve/pumbaa/disk_image/bookworm.qcow2
|
||||
|
||||
# Delegate tasks to Proxmox VE host (local API call !)
|
||||
proxmox_delegate_to: ""
|
||||
|
||||
# Informations to connect to API
|
||||
proxmox_api_host: ""
|
||||
proxmox_api_user: ""
|
||||
proxmox_api_token_id: ""
|
||||
proxmox_api_token_secret: ""
|
||||
|
||||
# Type of instance (ct or vm)
|
||||
proxmox_instance_type: ""
|
||||
|
||||
# Instance configuration
|
||||
proxmox_instance_node: ""
|
||||
proxmox_instance_autostart: true
|
||||
proxmox_instance_args: ""
|
||||
proxmox_instance_cores: 1
|
||||
proxmox_instance_cpu: kvm64
|
||||
proxmox_instance_full: false
|
||||
proxmox_instance_hotplug:
|
||||
- cpu
|
||||
- disk
|
||||
- memory
|
||||
- network
|
||||
- usb
|
||||
proxmox_instance_ipconfig: {}
|
||||
proxmox_instance_memory: 1024
|
||||
proxmox_instance_migrate: true
|
||||
proxmox_instance_net: {}
|
||||
proxmox_instance_numa: true
|
||||
proxmox_instance_onboot: true
|
||||
proxmox_instance_protection: true
|
||||
proxmox_instance_vmid: ""
|
||||
|
||||
proxmox_instance_disks: []
|
||||
# Example:
|
||||
# - disk: virtio0
|
||||
# storage: ssd120
|
||||
# size: 8
|
||||
# img: "{{ proxmox_images[0].dest }}"
|
||||
# - disk: virtio1
|
||||
# backup: true
|
||||
# mbps: 10
|
||||
# storage: nfs
|
||||
# size: 10
|
||||
|
||||
proxmox_instance_cloudinit: true
|
||||
proxmox_instance_cloudinit_cipassword: ""
|
||||
proxmox_instance_cloudinit_ciuser: ""
|
||||
proxmox_instance_cloudinit_nameservers: ""
|
||||
proxmox_instance_cloudinit_searchdomains: null
|
||||
proxmox_instance_cloudinit_sshkeys: ""
|
||||
|
||||
# HA configuration
|
||||
proxmox_instance_ha:
|
||||
# Example:
|
||||
# group: pve1
|
||||
# max_restart: 3
|
||||
# max_relocate: 2
|
||||
# state: started
|
||||
|
||||
# Configuration to wait SSH
|
||||
proxmox_instance_ssh_ip: ""
|
||||
proxmox_instance_ssh_port: ""
|
||||
|
||||
# Start instance after installation
|
||||
proxmox_start_instance: true
|
||||
|
||||
# Reboot instance when changed
|
||||
proxmox_reboot_instance: true
|
||||
|
||||
# Start qemu-guest-agent.service at the end
|
||||
proxmox_start_agent: true
|
Reference in New Issue
Block a user