added new template for large-plus
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
# Proxmox variables
|
# Proxmox variables
|
||||||
proxmox_user: "root@pam"
|
proxmox_user: "root@pam"
|
||||||
proxmox_password: "{{ vault_proxmox_root_password }}"
|
proxmox_password: "{{ vault_proxmox_root_password }}"
|
||||||
proxmox_host: "pve01"
|
proxmox_host: "main-street-usa"
|
||||||
|
|
||||||
# DNS variables
|
# DNS variables
|
||||||
dns_server: "infra01" # .int.mk-labs.cloud"
|
dns_server: "infra01" # .int.mk-labs.cloud"
|
||||||
dns_admin: "admin"
|
dns_admin: "admin"
|
||||||
base_domain: "int.mk-labs.cloud"
|
base_domain: "local.mk-labs.cloud"
|
||||||
# DHCP server
|
# DHCP server
|
||||||
dhcp_server: "matchbox"
|
dhcp_server: "matchbox"
|
||||||
|
|
||||||
|
|||||||
48
ansible/host_vars/city-hall/vars
Normal file
48
ansible/host_vars/city-hall/vars
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
# file: host_vars/vm_template/vars
|
||||||
|
# Ansible vars template for hosts created via cloning.
|
||||||
|
|
||||||
|
# Supported hypervisors:
|
||||||
|
# - Proxmox
|
||||||
|
|
||||||
|
platform: "proxmox"
|
||||||
|
|
||||||
|
# This is the Proxmox node where all the VM templates are stored. (Templates are not global.)
|
||||||
|
|
||||||
|
proxmox_clone_node: "fantasyland"
|
||||||
|
|
||||||
|
# Templates are named in the following format (all lower case): <OS Distribution>-<OS Version>-<VM Size>
|
||||||
|
# Current OS offerings are:
|
||||||
|
# - Fedora (42)
|
||||||
|
# Current VM sizes are:
|
||||||
|
# - Small: 2 cores, 2GB memory, 8 GiB virtual disk
|
||||||
|
# - Medium: 2 cores, 4GB memory, 16 GiB virtual disk
|
||||||
|
# - Large: 4 cores, 4GB memory, 32 GiB virtual disk
|
||||||
|
# - Xlarge: 4 cores, 8GB memory, 64 GiB virtual disk
|
||||||
|
|
||||||
|
vm_clone_source: "fedora-42-small"
|
||||||
|
|
||||||
|
# Proxmox storage target.
|
||||||
|
|
||||||
|
vm_storage: "mk-general"
|
||||||
|
|
||||||
|
# Proxmox does not yet do dynamic load balancing, the host target sets the target for HA groups
|
||||||
|
# and backup groups. (ha_group will be factored out in the next functionality update.)
|
||||||
|
|
||||||
|
ha_group: "pve03"
|
||||||
|
proxmox_host_target: "pve03"
|
||||||
|
|
||||||
|
# Currently, only single NIC VMs using IPv4 are supported via cloning. The IP address also
|
||||||
|
# sets the Proxmox VMID. The VMID is a combination of the 3rd and 4th octet of the IPv4 address.
|
||||||
|
|
||||||
|
ip_address: 10.1.71.21
|
||||||
|
|
||||||
|
# Software
|
||||||
|
# Future enhancement will allow specification of additional software to automatically deploy to
|
||||||
|
# the VM after creation.
|
||||||
|
|
||||||
|
#terraform_version: "1.11.3"
|
||||||
|
|
||||||
|
# ---
|
||||||
|
|
||||||
|
hostname: "{{ inventory_hostname }}.{{ base_domain }}" # Change variable to fqdn
|
||||||
48
ansible/host_vars/space-mountain/vars
Normal file
48
ansible/host_vars/space-mountain/vars
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
# file: host_vars/vm_template/vars
|
||||||
|
# Ansible vars template for hosts created via cloning.
|
||||||
|
|
||||||
|
# Supported hypervisors:
|
||||||
|
# - Proxmox
|
||||||
|
|
||||||
|
platform: "proxmox"
|
||||||
|
|
||||||
|
# This is the Proxmox node where all the VM templates are stored. (Templates are not global.)
|
||||||
|
|
||||||
|
proxmox_clone_node: "fantasyland"
|
||||||
|
|
||||||
|
# Templates are named in the following format (all lower case): <OS Distribution>-<OS Version>-<VM Size>
|
||||||
|
# Current OS offerings are:
|
||||||
|
# - Fedora (42)
|
||||||
|
# Current VM sizes are:
|
||||||
|
# - Small: 2 cores, 2GB memory, 8 GiB virtual disk
|
||||||
|
# - Medium: 2 cores, 4GB memory, 16 GiB virtual disk
|
||||||
|
# - Large: 4 cores, 4GB memory, 32 GiB virtual disk
|
||||||
|
# - Xlarge: 4 cores, 8GB memory, 64 GiB virtual disk
|
||||||
|
|
||||||
|
vm_clone_source: "fedora-42-small"
|
||||||
|
|
||||||
|
# Proxmox storage target.
|
||||||
|
|
||||||
|
vm_storage: "mk-general"
|
||||||
|
|
||||||
|
# Proxmox does not yet do dynamic load balancing, the host target sets the target for HA groups
|
||||||
|
# and backup groups. (ha_group will be factored out in the next functionality update.)
|
||||||
|
|
||||||
|
ha_group: "pve03"
|
||||||
|
proxmox_host_target: "pve03"
|
||||||
|
|
||||||
|
# Currently, only single NIC VMs using IPv4 are supported via cloning. The IP address also
|
||||||
|
# sets the Proxmox VMID. The VMID is a combination of the 3rd and 4th octet of the IPv4 address.
|
||||||
|
|
||||||
|
ip_address: 10.1.71.21
|
||||||
|
|
||||||
|
# Software
|
||||||
|
# Future enhancement will allow specification of additional software to automatically deploy to
|
||||||
|
# the VM after creation.
|
||||||
|
|
||||||
|
#terraform_version: "1.11.3"
|
||||||
|
|
||||||
|
# ---
|
||||||
|
|
||||||
|
hostname: "{{ inventory_hostname }}.{{ base_domain }}" # Change variable to fqdn
|
||||||
@@ -3,14 +3,20 @@ proxmox:
|
|||||||
hosts:
|
hosts:
|
||||||
pve0[1:3]:
|
pve0[1:3]:
|
||||||
|
|
||||||
|
magic-kingdom:
|
||||||
|
hosts:
|
||||||
|
main-street-usa:
|
||||||
|
tomorrowland:
|
||||||
|
fantasyland:
|
||||||
|
|
||||||
dhcp_server:
|
dhcp_server:
|
||||||
hosts:
|
hosts:
|
||||||
matchbox:
|
matchbox:
|
||||||
|
|
||||||
unbound_servers:
|
# unbound_servers:
|
||||||
hosts:
|
# hosts:
|
||||||
unbound01:
|
# unbound01:
|
||||||
unbound02:
|
# unbound02:
|
||||||
|
|
||||||
backup_servers:
|
backup_servers:
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
28
infra-config/04-vm-templates/fedora-42/fedora-42-large-plus.pkrvars.hcl
Executable file
28
infra-config/04-vm-templates/fedora-42/fedora-42-large-plus.pkrvars.hcl
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
##################################################################################
|
||||||
|
# VARIABLES
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
# Virtual Machine Settings
|
||||||
|
|
||||||
|
vm_boot_wait = "5s"
|
||||||
|
vm_name = "fedora-42-large-plus"
|
||||||
|
vm_id = "9105"
|
||||||
|
vm_cpu_sockets = "1"
|
||||||
|
vm_cpu_cores = "4"
|
||||||
|
vm_mem_size = "4096"
|
||||||
|
vm_disk_size = "48"
|
||||||
|
|
||||||
|
proxmox_bridge = "vmbr0"
|
||||||
|
#proxmox_vlan = "71"
|
||||||
|
|
||||||
|
ssh_username = "wed"
|
||||||
|
|
||||||
|
# ISO Objects
|
||||||
|
|
||||||
|
iso_file = "Fedora-Server-netinst-x86_64-42-1.1.iso"
|
||||||
|
iso_checksum = "231f3e0d1dc8f565c01a9f641b3d16c49cae44530074bc2047fe2373a721c82f"
|
||||||
|
iso_checksum_type = "sha256"
|
||||||
|
|
||||||
|
# Scripts
|
||||||
|
|
||||||
|
shell_scripts = ["scripts/cleanup.sh"]
|
||||||
Reference in New Issue
Block a user