diff --git a/defaults/main.yml b/defaults/main.yml index 9a5cb9bd..3f3e6d71 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -207,7 +207,7 @@ cinder_swift_catalog_info: "object-store:swift:internalURL" ## Cap the maximun number of threads / workers when a user value is unspecified. cinder_osapi_volume_workers_max: 16 -cinder_osapi_volume_workers: "{{ [[ansible_processor_vcpus|default(2) // 2, 1] | max, cinder_osapi_volume_workers_max] | min }}" +cinder_osapi_volume_workers: "{{ [ (ansible_processor_vcpus|default(2)) // 2, cinder_osapi_volume_workers_max] | min }}" ## Cinder iscsi cinder_target_helper_mapping: