Skip to content

This is a repository where an ACME poc will be hosted for proxmox backend.

License

Notifications You must be signed in to change notification settings

Ngel-Castro/acme-proxmox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platform example for jenkins

In this accelerator we use opentofu and jenkins to start the bootstrapping process of a platform using proxmox. ultimately, we could use the same playbook to host the infra in any cloud provider

Requirements

  • Ansible
  • opentofu
  • poetry
  • Packer

Providers

Name Version
local 2.5.1
template 2.2.0

Modules

Name Source Version
vms_qemu github.com/Ngel-Castro/vm_qemu_multiple stable

Resources

Name Type
local_file.ansible_inventory resource
template_file.inventory data source

Inputs

Name Description Type Default Required
environment on which enviroment the project will be running string "dev" no
proxmox_host Value for proxmox cluster/server string "https://192.168.0.131:8006/api2/json" no
proxmox_token_id Proxmox Token user@pam!token_id string "terraform-prov@pve!terraform" no
proxmox_token_secret Proxmox token secret string n/a yes
vms n/a
list(object({
name = string
target_node = string
storage = string
storage_size = number
full_clone = bool
template_name = string
network_bridge = string
memory = number
cores = number
tags = string
ip = optional(string, "dhcp")
vmid = optional(number, null)
gw = optional(string, null)
}))
[
{
"cores": 2,
"full_clone": true,
"memory": 2048,
"name": "vm",
"network_bridge": "vmbr0",
"storage": "Kingstone-data",
"storage_size": 32,
"tags": "tofu",
"target_node": "proxmox",
"template_name": "ubuntu-server-beta"
}
]
no

Outputs

Name Description
vm-inventory Virtual machine(s) inventory

About

This is a repository where an ACME poc will be hosted for proxmox backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published