diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2015-11-06 17:55:14 +0800 |
---|---|---|
committer | grakiss <grakiss.wanglei@huawei.com> | 2015-11-06 17:55:14 +0800 |
commit | 209dbb5628f30cd7034e83b29fc38605503c6a83 (patch) | |
tree | b97d784e1004f1ec7b31419cdffc60e1275d39f2 /deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml | |
parent | fc218067fdea16f45b8b9d01201a8c8b25ca9eb0 (diff) |
using cinder volume instead of creating new img
JIRA: COMPASS-117
- using already created cinder-volumes,no need to create a ceph-volumes
Change-Id: I6e8a93258596b7823ec37cad301d0fa57bbd95c3
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml index 3959d466..744120b8 100644 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml +++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml @@ -4,6 +4,9 @@ tags: - create_ceph_cluster +- name: default config for ceph + shell: cd {{ ceph_cluster_dir[0] }} && echo "osd_journal_size = 1024" >> ceph.conf && echo "osd_pool_default_size = 2" >> ceph.conf + - name: install ceph for every nodes includes jumpserver shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy install {{ ceph_cluster_hosts.stdout_lines[0]}} @@ -11,7 +14,7 @@ shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --overwrite-conf mon create-initial - name: gather keys - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy gatherkeys {{ ceph_cluster_hosts.stdout_lines[0] }} + shell: sleep 5 && cd {{ ceph_cluster_dir[0] }} && ceph-deploy gatherkeys {{ inventory_hostname }} ignore_errors: True - name: copy create_osd.sh to host1 |