]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
docker: we don't need to copy the ceph.conf on all the nodes 1929/head
authorSébastien Han <seb@redhat.com>
Wed, 20 Sep 2017 14:33:29 +0000 (16:33 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 20 Sep 2017 14:33:29 +0000 (16:33 +0200)
commitcb05172605a12f752b2ae007aac6967e4bc25baf
tree97e319f3720b94032ee445a476dabbe59714ee3e
parent7aab133617539b075391c086ed034c2a25490906
docker: we don't need to copy the ceph.conf on all the nodes

We generate the ceph.conf on all the nodes through the
ceph-docker-common so there is no need to push it to the Ansible file.

Also this is breaking the ceph.conf template generation since we only
generate sections based on the host the ansible task is running on.

For example, what's typically happening, we bootstrap the monitor, we
get a ceph.conf generated for a mon only, we go on an osd, we generate
the ceph.conf with osd section (done by ceph-docker-common) but this
gets overwritten by the copy_config task of the ceph-osd role.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mds/tasks/docker/copy_configs.yml
roles/ceph-mgr/tasks/docker/copy_configs.yml
roles/ceph-mon/tasks/docker/copy_configs.yml
roles/ceph-nfs/tasks/docker/copy_configs.yml
roles/ceph-osd/tasks/copy_configs.yml
roles/ceph-rbd-mirror/tasks/docker/copy_configs.yml
roles/ceph-restapi/tasks/docker/copy_configs.yml
roles/ceph-rgw/tasks/docker/copy_configs.yml