Commit 431c6f8
Fix ansible_user undefined error in GKE and AKS Terraform tasks (#189)
When ansible_connection=local is used, ansible_user is never set and
referencing it causes an immediate failure. Replace /home/{{ ansible_user }}
with {{ ansible_env.HOME }} which resolves correctly in local connections.
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 086f4e0 commit 431c6f8
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments