fix(cd): Ajout étape setup OpenTofu dans tous les jobs déploiement

Jobs de déploiement échouaient avec 'tofu: commande introuvable'. Ajout étape Setup OpenTofu aux jobs deploy-pve1, deploy-pve2, and deploy-pve3 jobs.
This commit is contained in:
Tellsanguis 2025-11-13 20:03:49 +01:00
parent 8687665946
commit 8c738e9e19

View file

@ -76,6 +76,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup OpenTofu
run: |
if ! command -v tofu &> /dev/null; then
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
fi
- name: Terraform Apply on pve1
run: |
cd terraform/pve1
@ -105,6 +110,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup OpenTofu
run: |
if ! command -v tofu &> /dev/null; then
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
fi
- name: Terraform Apply on pve2
run: |
cd terraform/pve2
@ -134,6 +144,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup OpenTofu
run: |
if ! command -v tofu &> /dev/null; then
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
fi
- name: Terraform Apply on pve3
run: |
cd terraform/pve3