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:
parent
8b36a77515
commit
e09dc582a3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue