Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

adelahozredhat
Copy link

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

…ith 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
@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX community labels May 24, 2024
@fosterseth
Copy link
Member

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

@adelahozredhat
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants