Commit 4b91bad
committed
fix: prevent cifmw_validations_xml_filter hang
Issue: The validations playbook was hanging indefinitely when
creating JUnit XML files for validation results.
Root cause: ET.tostring() with encoding='utf-8' returned bytes,
which Ansible's copy module couldn't serialize in a template
context, causing an indefinite hang.
Solution: Changed encoding parameter to 'unicode', which returns
str directly, allowing Ansible to process it normally.
Verification:
- Playbook completes successfully in 1.16 seconds
- XML file is generated correctly
- No breaking changes (fully backward compatible)1 parent 1a63e15 commit 4b91bad
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments