Commit 8123ba8
* fix(ansible): add AUTOBOT_AI_STACK_HOST/PORT to backend env template (#3503)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(ansible): auto-detect WSL2 and set correct ai_stack_host per-host (#3503)
Detect WSL2 at deploy time by reading /proc/version on each target host.
When the host is WSL2 and backend_ai_stack_host has not been overridden
from the default 127.0.0.1, set it to 10.255.255.254 (the WSL2 mirrored
networking loopback IP). This ensures every re-provisioning produces a
correct AUTOBOT_AI_STACK_HOST in the env file without any manual override.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5db2654 commit 8123ba8
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
30 | 52 | | |
31 | 53 | | |
32 | 54 | | |
| |||
0 commit comments