blob: ec1089715e333f007a6474636a448000619f0ade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
- name: Create Replicate Volumes
gluster_volume:
state: present
name: "{{ cluster_volume }}"
bricks: '{{ cluster_bricks }}'
cluster: "{{ cluster_hosts }}"
replicas: "{{ cluster_replica_count }}"
run_once: yes
when: cluster_type == 'replicate'
- name: Set volume options
gluster_volume:
state: present
name: "{{ cluster_volume }}"
options:
{
features.cache-invalidation: 'on',
features.cache-invalidation-timeout: '600',
performance.cache-samba-metadata: 'on',
performance.stat-prefetch: 'on',
performance.cache-invalidation: 'on',
performance.md-cache-timeout: '600',
network.inode-lru-limit: '200000',
performance.nl-cache: 'on',
performance.nl-cache-timeout: '600',
performance.readdir-ahead: 'on',
performance.parallel-readdir: 'on',
}
run_once: true
|