We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for taking time to write put this together. I ran into this error:
fatal: [192.168.1.20]: FAILED! => {"msg": "Unexpected templating type error occurred on ({% if num_nodes >= 0 -%}{{ 90 * 1024 + num_nodes|int * nanny_memory_per_node}}Ki{%- else -%}90Mi{% endif -%}): '>=' not supported between instances of 'str' and 'int'"}
Ansible does like the comparison in this statement:
"{% if num_nodes >= 0 -%}{{ 90 * 1024 + num_nodes|int * nanny_memory_per_node}}Ki{%- else -%}90Mi{% endif -%}"
I believe it should be like this:
"{% if num_nodes | int >= 0 -%}{{ 90 * 1024 + num_nodes|int * nanny_memory_per_node}}Ki{%- else -%}90Mi{% endif -%}"
The text was updated successfully, but these errors were encountered:
I noticed there are many instances of this comparison in the code, maybe it is just because of my environment. I am using Jinja2.
Sorry, something went wrong.
No branches or pull requests
Thanks for taking time to write put this together. I ran into this error:
Ansible does like the comparison in this statement:
I believe it should be like this:
The text was updated successfully, but these errors were encountered: