[installer] Bandage broken conditionals#4126
Conversation
📝 WalkthroughWalkthroughThe installer script was updated to fix how Ansible handles string-to-boolean conversions in variable assignments. An environment variable was added to allow broken conditionals, and logging behavior was modified to unconditionally print the Kubernetes user information. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4126 +/- ##
=======================================
Coverage 74.73% 74.73%
=======================================
Files 296 296
Lines 10958 10958
Branches 1369 1369
=======================================
Hits 8190 8190
Misses 2373 2373
Partials 395 395
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@deploy/scripts/install-combine.sh`:
- Around line 84-93: The script currently exports
ANSIBLE_ALLOW_BROKEN_CONDITIONALS globally which leaks the env var; instead,
scope it to the single ansible-playbook invocation by removing the export and
prepending ANSIBLE_ALLOW_BROKEN_CONDITIONALS=True only to the ansible-playbook
command that calls playbook_desktop_setup.yml (the line with ansible-playbook
... ${EXTRA_VARS} $(((DEBUG == 1)) && echo "-vv")). Keep the rest of the logic
(K8S_USER, EXTRA_VARS, airgap check, DEBUG handling) unchanged so only the
ansible-playbook process sees the env var.
Fixes #4125
This change is
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.