refactor: split machine deploys from one-time secrets migration
ansible-core-net / deploy (push) Failing after 39s
ansible-core-secrets / deploy (push) Successful in 30s
ansible-rus-central / deploy (push) Failing after 15s

Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
karpenokandCursor committed 2026-11-10 23:55:34 +07:00
1 parent 341538fba9
commit 9c692522fb
85 files changed
+537 -492

No files matched your search

@@ -1,5 +1,5 @@
resource "proxmox_virtual_environment_container" "core_net" {
description = "Managed by Terraform: core-net Ingress Gateway (Traefik)"
description = "Managed by Terraform: core-net (Traefik, Authentik)"
node_name = var.proxmox_node
vm_id = 902
@@ -1,5 +1,5 @@
resource "proxmox_virtual_environment_container" "core_secrets" {
description = "Managed by Terraform: core-secrets Zero-Day Secrets Vault (Infisical, Vaultwarden, Agent Vault)"
description = "Managed by Terraform: core-secrets (Infisical, Vaultwarden)"
node_name = var.proxmox_node
vm_id = 901
-22
View File
@@ -1,22 +0,0 @@
terraform {
required_version = ">= 1.5.0"
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "~> 0.70.0"
}
}
backend "http" {}
}
provider "proxmox" {
endpoint = var.proxmox_endpoint
api_token = var.proxmox_api_token
insecure = var.proxmox_insecure
ssh {
agent = true
}
}
-1
View File
@@ -1 +0,0 @@
# Выходные параметры для узла pve
-4
View File
@@ -1,4 +0,0 @@
proxmox_endpoint = "https://192.168.1.2:8006/"
proxmox_api_token = "root@pam!automation-stack=00000000-0000-0000-0000-000000000000"
proxmox_insecure = true
proxmox_node = "pve"
-32
View File
@@ -1,32 +0,0 @@
variable "proxmox_endpoint" {
description = "URL Proxmox API для узла pve"
type = string
default = "https://192.168.1.2:8006/"
}
variable "proxmox_api_token" {
description = "API Token Proxmox в формате USER@REALM!TOKENID=UUID_SECRET"
type = string
sensitive = true
}
variable "proxmox_insecure" {
description = "Разрешить самоподписанные SSL-сертификаты Proxmox"
type = bool
default = true
}
variable "proxmox_node" {
description = "Имя ноды Proxmox"
type = string
default = "pve"
}
variable "ssh_public_keys" {
description = "Список публичных SSH-ключей для доступа к создаваемым контейнерам"
type = list(string)
default = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF/yxhAs022l/8FlPlhyi7NeF3CvVGsev3B1HtKICO7M root_from_windows",
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpwqB40k8QQq3k8160gfMKDaCJCX9qzvmuijfe3mO4I gitea-runner"
]
}