awx icon indicating copy to clipboard operation
awx copied to clipboard

Update workflow_job_template.py for correct error in workflow_nodes with inventory null

Open adelahozredhat opened this issue 1 year ago • 2 comments

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

adelahozredhat avatar May 24 '24 14:05 adelahozredhat

can you clarify what this change is doing? are you hoping to surface an error when inventory: null?

fosterseth avatar Jun 05 '24 19:06 fosterseth

The problem when converter info from module export of workflow, include in vars of node_workflows inventory: null and crash execution

adelahozredhat avatar Jun 05 '24 21:06 adelahozredhat

Thank you for your contribution, it is good to merge.

tvo318 avatar Apr 02 '25 14:04 tvo318