diff options
author | 2016-01-13 14:59:11 +0800 | |
---|---|---|
committer | 2016-01-30 03:34:26 +0000 | |
commit | 951cec74b7b8cef5db2f2bda7375653fedaedbf8 (patch) | |
tree | 219fdc31014836b059597bd6439dadbe6c6cb59b /deploy/adapters/ansible/roles/ceph-deploy/tasks | |
parent | ffcccb6b50fe7e5954188b44f6666f7ac3dee3da (diff) |
deploy CEPH nodes parallelly
JIRA:COMPASS-264
- do not use ceph-deploy
- do not need centeral node to deploy ceph
Change-Id: I0f9c459060a2fccbad73a323697ec23ea2115410
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit 2616357bbf1d5cfc1f7e3923e12b8adfc5627fc6)
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-deploy/tasks')
-rw-r--r-- | deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml index 1e1b5863..ab010266 100644 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml +++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml @@ -8,7 +8,7 @@ ignore_errors: True - name: modify glance-api.conf for ceph - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(default_store\).*/\1 = rbd/g' /etc/glance/glance-api.conf && sed -i '/^\[glance_store/a rbd_store_pool = images\nrbd_store_user = glance\nrbd_store_ceph_conf = /etc/ceph/ceph.conf\nrbd_store_chunk_size = 8\nshow_image_direct_url=True' /etc/glance/glance-api.conf" + shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(default_store\).*/\1 = rbd/g' /etc/glance/glance-api.conf && sed -i '/^\[glance_store/a stores = rbd\nrbd_store_pool = images\nrbd_store_user = glance\nrbd_store_ceph_conf = /etc/ceph/ceph.conf\nrbd_store_chunk_size = 8\nshow_image_direct_url=True' /etc/glance/glance-api.conf" with_items: - "{{ groups['controller'] }}" tags: |