mirror of https://github.com/ceph/ceph-ansible.git
commit
bca73c1ef1
|
@ -67,6 +67,7 @@ ansible_provision = proc do |ansible|
|
|||
ansible.extra_vars = {
|
||||
"ceph_#{settings['ceph_install_source']}"=> 'true',
|
||||
journal_collocation: 'true',
|
||||
pool_default_size: '2',
|
||||
journal_size: 100,
|
||||
monitor_interface: ETH,
|
||||
cluster_network: "#{SUBNET}.0/24",
|
||||
|
|
|
@ -32,6 +32,7 @@ cp group_vars/osds.sample group_vars/osds
|
|||
sed -i "s/#osd_auto_discovery: false/osd_auto_discovery: true/" group_vars/osds
|
||||
sed -i "s/#journal_collocation: false/journal_collocation: true/" group_vars/osds
|
||||
sed -i "s/#ceph_dev: false/ceph_dev: true/" group_vars/all
|
||||
sed -i "s/#pool_default_size: 3/pool_default_size: 2/" group_vars/all
|
||||
sed -i "s/#monitor_address: 0.0.0.0/monitor_address: ${MON_IP}/" group_vars/all
|
||||
sed -i "s/#journal_size: 0/journal_size: 100/" group_vars/all
|
||||
sed -i "s|#public_network: 0.0.0.0\/0|public_network: ${SUBNET}|" group_vars/all
|
||||
|
|
|
@ -215,7 +215,7 @@ dummy:
|
|||
#journal_size: 0
|
||||
#pool_default_pg_num: 128
|
||||
#pool_default_pgp_num: 128
|
||||
#pool_default_size: 2
|
||||
#pool_default_size: 3
|
||||
#pool_default_min_size: 1
|
||||
#public_network: 0.0.0.0/0
|
||||
#cluster_network: "{{ public_network }}"
|
||||
|
|
|
@ -207,7 +207,7 @@ mon_pg_warn_max_object_skew: 10 # set to 20 or higher to disable complaints abou
|
|||
journal_size: 0
|
||||
pool_default_pg_num: 128
|
||||
pool_default_pgp_num: 128
|
||||
pool_default_size: 2
|
||||
pool_default_size: 3
|
||||
pool_default_min_size: 1
|
||||
public_network: 0.0.0.0/0
|
||||
cluster_network: "{{ public_network }}"
|
||||
|
|
Loading…
Reference in New Issue