fix: working directory

This commit is contained in:
Ditmar Visser
2025-06-05 09:02:42 +00:00
parent f97fa5c7c2
commit c251dfbae6
2 changed files with 4 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ jobs:
terraform:
name: Terraform Apply
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./opdracht-3
env:
TF_VAR_esxi_hostname: ${{ secrets.ESXI_HOSTNAME }}

View File

@@ -1,6 +1,6 @@
For the CI/CD pipelines [this website for Ansible](https://spacelift.io/blog/github-actions-ansible) and [this website for Terraform](https://spacelift.io/blog/github-actions-terraform) was used.
The Gitea runner is installed using the playbook in the `opdracht-2` directory. The Terraform state backend is installed using the same playbook.
The Gitea runner is installed using the playbook in the `opdracht-2` directory. The Terraform state backend is installed using the same playbook. Run this playbook using `ansible-playbook gitea-runner.yml -e @vault.yml --ask-vault-pass`
Demo of assignment 2: