mirror of https://github.com/ceph/ceph-ansible.git
commit
a49d93c592
|
@ -21,10 +21,11 @@ ansible_provision = proc do |ansible|
|
||||||
# these aren't supported by Vagrant, see
|
# these aren't supported by Vagrant, see
|
||||||
# https://github.com/mitchellh/vagrant/issues/3539
|
# https://github.com/mitchellh/vagrant/issues/3539
|
||||||
ansible.groups = {
|
ansible.groups = {
|
||||||
'mons' => (0..NMONS - 1).map { |j| "mon#{j}" },
|
'mons' => (0..NMONS - 1).map { |j| "mon#{j}" },
|
||||||
'osds' => (0..NOSDS - 1).map { |j| "osd#{j}" },
|
'osds' => (0..NOSDS - 1).map { |j| "osd#{j}" },
|
||||||
'mdss' => (0..NMDSS - 1).map { |j| "mds#{j}" },
|
'mdss' => (0..NMDSS - 1).map { |j| "mds#{j}" },
|
||||||
'rgws' => (0..NRGWS - 1).map { |j| "rgw#{j}" }
|
'rgws' => (0..NRGWS - 1).map { |j| "rgw#{j}" },
|
||||||
|
'clients' => (0..CLIENTS - 1).map { |j| "client#{j}" }
|
||||||
}
|
}
|
||||||
|
|
||||||
# In a production deployment, these should be secret
|
# In a production deployment, these should be secret
|
||||||
|
|
|
@ -51,7 +51,7 @@ ceph_dev_redhat_distro: centos7
|
||||||
#
|
#
|
||||||
fsid: "{{ cluster_uuid.stdout }}"
|
fsid: "{{ cluster_uuid.stdout }}"
|
||||||
cephx: true
|
cephx: true
|
||||||
cephx_require_signatures: true # Kernel RBD does NOT support signatures!
|
cephx_require_signatures: true # Kernel RBD does NOT support signatures for Kernels < 3.18!
|
||||||
cephx_cluster_require_signatures: true
|
cephx_cluster_require_signatures: true
|
||||||
cephx_service_require_signatures: false
|
cephx_service_require_signatures: false
|
||||||
max_open_files: 131072
|
max_open_files: 131072
|
||||||
|
|
1
site.yml
1
site.yml
|
@ -6,6 +6,7 @@
|
||||||
- osds
|
- osds
|
||||||
- mdss
|
- mdss
|
||||||
- rgws
|
- rgws
|
||||||
|
- clients # Kernel RBD does NOT support signatures for Kernels < 3.18! Make sure to set cephx_require_signatures: false
|
||||||
sudo: True
|
sudo: True
|
||||||
roles:
|
roles:
|
||||||
- { role: ceph-common, when: not docker }
|
- { role: ceph-common, when: not docker }
|
||||||
|
|
Loading…
Reference in New Issue