From c542a6832303431dea267fa9a78cd808c20e09d6 Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Fri, 21 Nov 2025 02:45:35 +1000 Subject: [PATCH] auto ansi? --- environments/just-created/hosts.yml | 3 ++- playbooker.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/environments/just-created/hosts.yml b/environments/just-created/hosts.yml index 3930b86..6ac6bf4 100644 --- a/environments/just-created/hosts.yml +++ b/environments/just-created/hosts.yml @@ -24,12 +24,13 @@ 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 #192.168.0.113 - + #recording-slut.guaranteedstruggle.host: #keycloak.guaranteedstruggle.host: # vault.guaranteedstruggle.host: diff --git a/playbooker.sh b/playbooker.sh index 07315d5..0db18b3 100755 --- a/playbooker.sh +++ b/playbooker.sh @@ -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."