generated from CC/VMServiceTemplate
ci/cd clone
Some checks failed
Deploy VM and App / terraform-ansible-deploy (push) Has been cancelled
Some checks failed
Deploy VM and App / terraform-ansible-deploy (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user