provisioning-code/data/tasks/f5833eba-627f-4790-9521-fa8754386f99.json

16 lines
No EOL
2.5 KiB
JSON

{
"id": "f5833eba-627f-4790-9521-fa8754386f99",
"name": "execute_servers_script_sgoyol-2",
"command": "bash",
"args": [
"-c",
"base64 -d < /tmp/orchestrator_script_f5833eba-627f-4790-9521-fa8754386f99.tar.gz.b64 | gunzip | tar -xOf - script.sh | bash +x"
],
"dependencies": [],
"status": "Completed",
"created_at": "2026-04-14T05:21:07.748344Z",
"started_at": null,
"completed_at": "2026-04-14T05:21:38.780999Z",
"output": "✓ Prerequisites: HCLOUD_TOKEN set, hcloud CLI available\n\n=== Managing SSH Keys ===\n✓ SSH public key found: /Users/jesusperezlorenzo/.ssh/htz_ops.pub\nChecking if SSH key 'htz_ops' exists in Hetzner...\n✓ SSH key htz_ops already exists with ID: 106168627\n\n=== SSH Key Management Complete ===\nSSH_KEY_ID: 106168627\nSSH_KEY_NAME: htz_ops\nEnvironment exported to: /tmp/provisioning-librecloud-20260414-062123/.env\n\n=== Managing Network ===\n✓ Network config validated: 10.0.8.0/22 with subnet 10.0.11.0/24 in zone eu-central\nChecking if network 'wuwei' exists...\n✓ Network 'wuwei' already exists with ID: 11875940\n ✓ Subnet 10.0.11.0/24 already present\n\n=== Network Management Complete ===\nNETWORK_ID: 11875940\nNETWORK_NAME: wuwei\nEnvironment exported to: /tmp/provisioning-librecloud-20260414-062123/.env\n\u001b[0;34m[INFO]\u001b[0m Step 1/3: Checking server 'sgoyol-2'...\n\u001b[1;33m[WARN]\u001b[0m Server 'sgoyol-2' already exists\n\u001b[0;32m[✓]\u001b[0m Using existing server: ID=126915423\nServer 126915423 attached to Network 11875940\n\u001b[0;32m[✓]\u001b[0m Attached to network wuwei with IP 10.0.11.22\nResource protection enabled for Server 126915423\n\u001b[0;32m[✓]\u001b[0m Protection enabled: delete rebuild\n\u001b[0;34m[INFO]\u001b[0m Step 2/2: Attaching server to firewall 'librecloud-fw'...\n\u001b[0;32m[✓]\u001b[0m Server attached to firewall 'librecloud-fw'\n\u001b[0;34m[INFO]\u001b[0m Step 3/3: Assigning floating IP 'librecloud-fip-sgoyol-ingress' to 'sgoyol-2'...\nFloating IP 126584953 assigned to Server 126915423\n\u001b[0;32m[✓]\u001b[0m Assigned floating IP 'librecloud-fip-sgoyol-ingress' (id=126584953) → sgoyol-2 (id=126915423)\n\u001b[0;32m[✓]\u001b[0m ✓ Server provisioning complete\n\u001b[0;34m[INFO]\u001b[0m Summary:\n\u001b[0;34m[INFO]\u001b[0m • Server: sgoyol-2 (ID: 126915423)\n\u001b[0;34m[INFO]\u001b[0m • Firewall: librecloud-fw\n\u001b[0;34m[INFO]\u001b[0m • Float IP: librecloud-fip-sgoyol-ingress (id=126584953)\n\u001b[0;34m[INFO]\u001b[0m • Status: Ready for deployment\n",
"error": null
}