Skip to content

Conversation

ednxzu
Copy link

@ednxzu ednxzu commented Aug 19, 2025

In ansible 2.19, the template for retrieving the public(floating) address of a molecule instance returns a NoneType value, which in turn evaluates to False when compared to "" , which cause the private address of the instance to never get picked up as fallback. This commit changes the condition to not address | bool which in both case will evaluate to True if the retrieval of the public ip failed.

This will fix #325

In ansible 2.19, the template for retrieving the public(floating) address
of a molecule instance returns a NoneType value, which in turn evaluates
to False when compared to , which cause the private address of the instance
to never get picker up as fallback. This commit changes the condition to
not address | bool which in both case will evaluate to True if the retrieval
of the public ip failed.
Copy link

github-actions bot commented Sep 8, 2025

Label error. Requires exactly 1 of: breaking, build, chore, ci, docs, feat, fix, perf, refactor, style, test. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly.

@ednxzu
Copy link
Author

ednxzu commented Sep 12, 2025

Not sure about the current error, but it seems like this PR is missing a label ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenStack driver fails waiting on ssh in ansible 2.19
2 participants