diff --git a/elk_metrics_6x/vars/variables.yml b/elk_metrics_6x/vars/variables.yml index ce572da9..f751f2d7 100644 --- a/elk_metrics_6x/vars/variables.yml +++ b/elk_metrics_6x/vars/variables.yml @@ -1,6 +1,6 @@ --- -elastic_memory_lower_limit: "{{ (ansible_memtotal_mb | int) * 0.15 // 1 }}" -elastic_memory_upper_limit: "{{ (ansible_memtotal_mb | int) * 0.35 // 1 }}" +elastic_memory_lower_limit: "{{ (((ansible_memtotal_mb | int) * 0.15) // 1) | int }}" +elastic_memory_upper_limit: "{{ (((ansible_memtotal_mb | int) * 0.35) // 1) | int }}" # Option to set persistent queue storage in gigabytes q_storage: "{{ (ansible_processor_count | int) * (ansible_processor_threads_per_core | int) * 2 }}"