generated from CC/VMServiceTemplate
ci/cd debug
This commit is contained in:
@@ -22,6 +22,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
pwd
|
||||
mkdir -p ansible/inventory
|
||||
cd terraform
|
||||
cp ${{ inputs.tfvars_file }} terraform.tfvars
|
||||
ls
|
||||
@@ -44,8 +45,8 @@ jobs:
|
||||
with:
|
||||
name: terraform-outputs
|
||||
path: |
|
||||
ansible/inventory/inventory.yml
|
||||
terraform/vm_data.yml
|
||||
~/ansible/inventory/inventory.yml
|
||||
~/terraform/vm_data.yml
|
||||
|
||||
ansible-configure:
|
||||
needs: terraform-deploy
|
||||
|
||||
@@ -40,12 +40,12 @@ module "vm-n8n" {
|
||||
|
||||
module "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
|
||||
}
|
||||
|
||||
module "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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user