Commit 2b92105
committed
add default('') to discovered image vars
cifmw_discovered_image_url and cifmw_discovered_hash are set
dynamically by the discover_latest_image role. When networking_mapper
serializes hostvars early in the play, these variables are not yet
defined, causing a fatal undefined variable error. Add | default('')
so serialization succeeds; the real values are populated later when
discover_latest_image runs.
Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: John Fulton <fulton@redhat.com>1 parent 6a339e4 commit 2b92105
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments