auto ansi?
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -24,12 +24,13 @@ lxc: # keys must be unique, i.e. only one 'hosts' per group
|
|||||||
#prometheus.guaranteedstruggle.host:
|
#prometheus.guaranteedstruggle.host:
|
||||||
# 192.168.0.240
|
# 192.168.0.240
|
||||||
#192.168.0.251
|
#192.168.0.251
|
||||||
|
|
||||||
#192.168.0.40
|
#192.168.0.40
|
||||||
192.168.0.21
|
192.168.0.21
|
||||||
#192.168.0.52
|
#192.168.0.52
|
||||||
#192.168.0.113
|
#192.168.0.113
|
||||||
|
|
||||||
|
|
||||||
#recording-slut.guaranteedstruggle.host:
|
#recording-slut.guaranteedstruggle.host:
|
||||||
#keycloak.guaranteedstruggle.host:
|
#keycloak.guaranteedstruggle.host:
|
||||||
# vault.guaranteedstruggle.host:
|
# vault.guaranteedstruggle.host:
|
||||||
|
|||||||
@@ -25,14 +25,14 @@ PLAYBOOKS_TO_RUN2=( $(printf "%s\n" "${PLAYBOOKS_TO_RUN[@]}" | sort -u) )
|
|||||||
if [ ${#PLAYBOOKS_TO_RUN2[@]} -gt 0 ]; then
|
if [ ${#PLAYBOOKS_TO_RUN2[@]} -gt 0 ]; then
|
||||||
for playbook in "${PLAYBOOKS_TO_RUN2[@]}"; do
|
for playbook in "${PLAYBOOKS_TO_RUN2[@]}"; do
|
||||||
echo "Running playbook: $playbook"
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${#PLAYBOOKS_TO_RUN_JUST_CREATED[@]} -gt 0 ]; then
|
if [ ${#PLAYBOOKS_TO_RUN_JUST_CREATED[@]} -gt 0 ]; then
|
||||||
for playbook in "${PLAYBOOKS_TO_RUN_JUST_CREATED[@]}"; do
|
for playbook in "${PLAYBOOKS_TO_RUN_JUST_CREATED[@]}"; do
|
||||||
echo "Running playbook: $playbook"
|
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
|
done
|
||||||
else
|
else
|
||||||
echo "No relevant playbooks modified. Skipping Ansible run."
|
echo "No relevant playbooks modified. Skipping Ansible run."
|
||||||
|
|||||||
Reference in New Issue
Block a user