infra: introduce terraform/opentofu for proxmox management
- move ansible project within infra - introduce terraform/opentofu for proxmox VM management
This commit is contained in:
6
infra/ansible/playbooks/configure-vms.yaml
Normal file
6
infra/ansible/playbooks/configure-vms.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Configure Proxmox VMs
|
||||
hosts: vms
|
||||
vars_files:
|
||||
- ../secrets/vault.yaml # Load the encrypted vault file
|
||||
roles:
|
||||
- configure-vms
|
||||
6
infra/ansible/playbooks/create-kubernetes-cluster.yaml
Normal file
6
infra/ansible/playbooks/create-kubernetes-cluster.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Create Kubernetes Cluster
|
||||
hosts: vms
|
||||
vars_files:
|
||||
- ../secrets/vault.yaml
|
||||
roles:
|
||||
- create-kubernetes-cluster
|
||||
6
infra/ansible/playbooks/create-vms.yaml
Normal file
6
infra/ansible/playbooks/create-vms.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Create Proxmox VMs
|
||||
hosts: hypervisors
|
||||
vars_files:
|
||||
- ../secrets/vault.yaml # Load the encrypted vault file
|
||||
roles:
|
||||
- create-vms
|
||||
6
infra/ansible/playbooks/destroy-vms.yaml
Normal file
6
infra/ansible/playbooks/destroy-vms.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Destroy Proxmox VMs
|
||||
hosts: hypervisors
|
||||
vars_files:
|
||||
- ../secrets/vault.yaml # Load the encrypted vault file
|
||||
roles:
|
||||
- destroy-vms
|
||||
Reference in New Issue
Block a user