---
# nodejs version to install
nodejs_major_version: "{% if st2_version == 'latest' or st2_version is version('3.5.0', '<') %}14{% else %}10{% endif %}"

---
# nodejs version to install
nodejs_major_version: "{% if st2chatops_version == 'latest' or st2chatops_version is version('3.5.0', '>=') %}14{% else %}10{% endif %}"

Fix gt vs lt on the nodejs default and compare with st2chatops_version instead of st2_version
Fix gt vs lt on the nodejs default and compare with st2chatops_version instead of st2_version
