Commit ce8a96f
[cifmw_cephadm] Fix log path when post.yml delegates to localhost
cifmw_cephadm_log_path uses ansible_user_dir which resolves to
/root on compute nodes running with become: true. The post.yml
and logs.yml tasks delegate_to: localhost to write log files, but
on the controller the zuul user cannot create directories under
/root.
Use cifmw_basedir (always /home/zuul/ci-framework-data in CI)
with a fallback to the original expression for non-CI contexts.
Related-Issue: ANVIL-109
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>1 parent bf73b99 commit ce8a96f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments