Update workflow_job_template.py for correct error in workflow_nodes with inventory null
Update workflow_job_template.py for correct error in workflow_nodes with inventory null in json or yaml
Detect error when file vars include in workflow_nodes a inventory with value null
workflow_nodes: inventory: null
This problem detect when use export information from module export in old version of tower
SUMMARY
Correct error
ISSUE TYPE
- Bug, Docs Fix or other nominal change
COMPONENT NAME
- Collection
AWX VERSION
24.4.0
ADDITIONAL INFORMATION
can you clarify what this change is doing? are you hoping to surface an error when inventory: null?
The problem when converter info from module export of workflow, include in vars of node_workflows inventory: null and crash execution
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Thank you for your contribution, it is good to merge.