Oh. "replicas" cannot be 1.
This commit is contained in:
parent
929a4adf97
commit
152a75995e
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
|||
state: present
|
||||
name: "{{ gluster_brick_name }}"
|
||||
brick: "{{ gluster_brick_dir }}"
|
||||
replicas: "{{ groups[gluster_server_group] | count }}"
|
||||
# This cannot be '1'
|
||||
#replicas: "{{ groups[gluster_server_group] | count }}"
|
||||
cluster: "{{ groups[gluster_server_group] | join(',') }}"
|
||||
host: "{{ inventory_hostname }}"
|
||||
force: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue