From b7c8c5719f1e788c4f2e872d36288ca54c96916f Mon Sep 17 00:00:00 2001 From: plasmagoat Date: Mon, 9 Jun 2025 01:49:19 +0200 Subject: [PATCH] bash --- .forgejo/workflows/build-image.yml | 2 +- scripts/run_ansible_ci.sh | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index c13ab47..0e181b3 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -98,7 +98,7 @@ jobs: run: | chmod +x ./scripts/run_ansible_ci.sh # Execute the script, passing necessary environment variables - scripts/run_ansible_ci.sh + bash scripts/run_ansible_ci.sh env: # These are passed directly to the `run_ansible_ci.sh` script, # which then uses them to construct Ansible's --extra-vars. diff --git a/scripts/run_ansible_ci.sh b/scripts/run_ansible_ci.sh index 5003fa4..936900f 100755 --- a/scripts/run_ansible_ci.sh +++ b/scripts/run_ansible_ci.sh @@ -53,18 +53,3 @@ ansible-playbook upload-template.yml \ --check false # Set to true for a dry run, false for actual execution echo "Ansible playbook execution finished." - - -#!/bin/bash -set -euo pipefail - -# Navigate to the ansible directory -cd ansible - -# Run the image deployment playbook -echo "Running Ansible upload-template playbook..." -ansible-playbook upload-template.yml \ - -e "cpu_cores=4" \ - -e "memory_mb=4096" - -echo "Ansible playbook completed."