ci/cd clone
Some checks failed
Deploy VM and App / terraform-ansible-deploy (push) Has been cancelled

This commit is contained in:
CC
2026-05-21 16:51:06 +01:00
parent 1cb81833d7
commit d68ab4b309
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
name: Deploy VM and App name: Deploy VM and App
on: on:
push:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tfvars_file: tfvars_file:
@@ -24,7 +26,7 @@ jobs:
pwd pwd
mkdir -p ansible/inventory mkdir -p ansible/inventory
cd terraform cd terraform
cp ${{ inputs.tfvars_file }} terraform.tfvars cp ${{ inputs.tfvars_file | 'single.tfvars.example' }} terraform.tfvars
ls ls
- uses: hashicorp/setup-terraform@v4 - uses: hashicorp/setup-terraform@v4

View File

@@ -16,7 +16,7 @@ variable "instance_configs" {
default = [ default = [
{ crispy_name = "snap", vmid = "9002" }, { crispy_name = "snap", vmid = "9002" },
{ crispy_name = "crackle", vmid = "9000" }, { crispy_name = "crackle", vmid = "9000" },
{ crispy_name = "pop", vmid = "9001" } { crispy_name = "pop", vmid = "900" }
] ]
} }