we can use a ternary operator to solve this. This should pseudo code should work but is untested:
num_sync_threads = {{ neutron_api_workers | default(api_threads if api_threads > 0 else 1) }}
we can use a ternary operator to solve this. This should pseudo code should work but is untested:
num_sync_threads = {{ neutron_api_workers | default(api_threads if api_threads > 0 else 1) }}