mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Replace non working option by a jinja2 snippet
Asking to gluster devs, they were surprised this would be working in the first place.
This commit is contained in:
committed by
Kevin Fenzi
parent
8b36a77515
commit
e09dc582a3
@@ -38,7 +38,7 @@ end-volume
|
||||
|
||||
volume iocache
|
||||
type performance/io-cache
|
||||
option cache-size `grep 'MemTotal' /proc/meminfo | awk '{print $2 * 0.2 / 1024}' | cut -f1 -d.`MB
|
||||
option cache-size {{ (ansible_memtotal_mb / 5) |round |int }}MB
|
||||
option cache-timeout 30
|
||||
subvolumes iothreads
|
||||
end-volume
|
||||
|
||||
Reference in New Issue
Block a user