ci/cd debug

This commit is contained in:
CC
2026-05-21 14:10:56 +01:00
parent 227b7ed138
commit 0ac0357a45
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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
} }