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
Sébastien Han 2016-08-23 15:35:54 +02:00
parent f351329897
commit a4dbe49f7f
2 changed files with 2 additions and 2 deletions

3
Vagrantfile vendored
View File

@ -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 = {

View File

@ -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