generated from CC/VMServiceTemplate
ci/cd debug
This commit is contained in:
@@ -22,6 +22,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
pwd
|
pwd
|
||||||
|
mkdir -p ansible/inventory
|
||||||
cd terraform
|
cd terraform
|
||||||
cp ${{ inputs.tfvars_file }} terraform.tfvars
|
cp ${{ inputs.tfvars_file }} terraform.tfvars
|
||||||
ls
|
ls
|
||||||
@@ -44,8 +45,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: terraform-outputs
|
name: terraform-outputs
|
||||||
path: |
|
path: |
|
||||||
ansible/inventory/inventory.yml
|
~/ansible/inventory/inventory.yml
|
||||||
terraform/vm_data.yml
|
~/terraform/vm_data.yml
|
||||||
|
|
||||||
ansible-configure:
|
ansible-configure:
|
||||||
needs: terraform-deploy
|
needs: terraform-deploy
|
||||||
|
|||||||
@@ -40,12 +40,12 @@ module "vm-n8n" {
|
|||||||
|
|
||||||
module "inventory" {
|
module "inventory" {
|
||||||
source = "./modules/proxmox_ansible_inventory"
|
source = "./modules/proxmox_ansible_inventory"
|
||||||
filename = "${path.root}/ansible/inventory/inventory.yml"
|
filename = "${abspath("${path.root}/..")}/ansible/inventory/inventory.yml"
|
||||||
instances = local.vm_created
|
instances = local.vm_created
|
||||||
}
|
}
|
||||||
|
|
||||||
module "vm_data" {
|
module "vm_data" {
|
||||||
source = "./modules/proxmox_vm_data"
|
source = "./modules/proxmox_vm_data"
|
||||||
filename = "${path.root}/terraform/vm_data.yml"
|
filename = "${abspath("${path.root}/..")}/terraform/vm_data.yml"
|
||||||
instances = local.vm_created
|
instances = local.vm_created
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user