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

Rewrite jinja2 snippet to determine if juju snap should be classic #313

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

freyes
Copy link
Member

@freyes freyes commented Feb 9, 2024

The commit 16b1561 introduced a dynamic evaluation to set the classic property to true/false when installing the juju snap, although that line produces a "False" which Ansible is evaluating to true.

This change takes a different approach dropping the use of an inline-if which was producing a string value, now it's being used a conditional expression to force the evaluation as a boolean.

The commit 16b1561 introduced a dynamic evaluation to set the `classic`
property to true/false when installing the juju snap, although that line
produces a "False" which Ansible is evaluating to true.

This change takes a different approach dropping the use of an inline-if
which was producing a string value, now it's being used a conditional
expression to force the evaluation as a boolean.
@freyes freyes requested a review from ajkavanagh February 9, 2024 12:59
@ajkavanagh ajkavanagh merged commit eb05cf5 into openstack-charmers:master Feb 9, 2024
2 checks passed
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.

2 participants