auto ansi?
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
hogweed1
2025-11-21 02:45:35 +10:00
parent 9a493ef04c
commit c542a68323
2 changed files with 4 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ lxc: # keys must be unique, i.e. only one 'hosts' per group
#prometheus.guaranteedstruggle.host:
# 192.168.0.240
#192.168.0.251
#192.168.0.40
192.168.0.21
#192.168.0.52

View File

@@ -25,14 +25,14 @@ PLAYBOOKS_TO_RUN2=( $(printf "%s\n" "${PLAYBOOKS_TO_RUN[@]}" | sort -u) )
if [ ${#PLAYBOOKS_TO_RUN2[@]} -gt 0 ]; then
for playbook in "${PLAYBOOKS_TO_RUN2[@]}"; do
echo "Running playbook: $playbook"
ansible-playbook "$playbook" -i environments/proxmoxes/hosts.yml
ARA_API_CLIENT="http" ARA_API_SERVER="http://192.168.0.55:8000" ansible-playbook "$playbook" -i environments/proxmoxes/hosts.yml
done
fi
if [ ${#PLAYBOOKS_TO_RUN_JUST_CREATED[@]} -gt 0 ]; then
for playbook in "${PLAYBOOKS_TO_RUN_JUST_CREATED[@]}"; do
echo "Running playbook: $playbook"
ansible-playbook "$playbook" -i environments/just-created/hosts.yml
ARA_API_CLIENT="http" ARA_API_SERVER="http://192.168.0.55:8000" ansible-playbook "$playbook" -i environments/just-created/hosts.yml
done
else
echo "No relevant playbooks modified. Skipping Ansible run."