bash
This commit is contained in:
parent
0a53e76c81
commit
b7c8c5719f
2 changed files with 1 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue