MLflow wait_for: ignore_errors so install continues regardless

This commit is contained in:
Jino Jose committed 2026-06-23 15:27:17 +05:30
1 parent 2ef5f4118b
commit 553b0228e8
3 files changed
+7 -4

No files matched your search

+4 -2
View File
@@ -54,8 +54,9 @@ run_phase1() {
echo "║ Cezen AI Suite — Phase 1: NVIDIA ║"
echo "╚══════════════════════════════════════════╝"
ANSIBLE_STDOUT_CALLBACK=yaml \
ansible-playbook -i localhost, -c local "$ANSIBLE_DIR/phase1_nvidia.yml" \
-e "tier=$TIER" -v
-e "tier=$TIER"
# Register phase 2 as a one-shot systemd service so it runs after reboot
cat > /etc/systemd/system/cezen-phase2.service << EOF
@@ -100,8 +101,9 @@ run_phase2() {
echo "✓ NVIDIA driver: $(nvidia-smi --query-gpu=driver_version --format=csv,noheader | head -1)"
fi
ANSIBLE_STDOUT_CALLBACK=yaml \
ansible-playbook -i localhost, -c local "$ANSIBLE_DIR/entry.yml" \
-e "tier=$TIER" -v
-e "tier=$TIER"
# Disable one-shot service so it doesn't run again on next reboot
systemctl disable cezen-phase2.service 2>/dev/null || true