mirror of https://github.com/ceph/ceph-ansible.git
docker: fix more than one monitor deployment
There is no need to run the actions from roles/ceph-mon/tasks/docker/create_configs.yml on the first monitor only since the monitor deployment happens **serially**. Moreover with Vagrant it's useful to allow the auto creation of the cluster fsid, so enabling the option. If this is not desired you can still set `fsid: 9c9c0448-0551-401d-b55b-e5b3a42bae42` for example. Signed-off-by: Sébastien Han <seb@redhat.com>pull/951/head
parent
f351329897
commit
a4dbe49f7f
|
@ -81,7 +81,8 @@ ansible_provision = proc do |ansible|
|
|||
ceph_osd_docker_devices: settings['disks'],
|
||||
# Note that OSVM is defaulted to false above
|
||||
ceph_docker_on_openstack: OSVM,
|
||||
ceph_rgw_civetweb_port: 8080
|
||||
ceph_rgw_civetweb_port: 8080,
|
||||
generate_fsid: 'true'
|
||||
}
|
||||
else
|
||||
ansible.extra_vars = {
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
# let the first mon create configs and keyrings
|
||||
- include: create_configs.yml
|
||||
when:
|
||||
- inventory_hostname == groups.mons[0]
|
||||
- not mon_containerized_default_ceph_conf_with_kv
|
||||
|
||||
- include: fetch_configs.yml
|
||||
|
|
Loading…
Reference in New Issue