diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2016-01-04 16:04:01 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2016-01-04 10:08:16 +0000 |
commit | 917b53a734ccf31d2117458708e83a22175538b5 (patch) | |
tree | 84c858bab3c2bb0a98c0b203bfec9557ba2feb45 /deploy/adapters/ansible/roles | |
parent | 0b4b86d37c6fd0946737d59bf1093398dde09670 (diff) |
Fix: deploy ceph using mgmt network
JIRA: COMPASS-238
- forget to change network from public install to mgmt
Change-Id: I7a4540809782a391ac04e92811e837b32a67a0b2
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r-- | deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml | 2 |
1 files changed, 1 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 5c047566..79388f74 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 @@ -5,7 +5,7 @@ - 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 && echo "public_network = {{ public_cidr }}" >> ceph.conf && echo "cluster_network = {{ storage_cidr }} " >> ceph.conf + shell: cd {{ ceph_cluster_dir[0] }} && echo "osd_journal_size = 1024" >> ceph.conf && echo "osd_pool_default_size = 2" >> ceph.conf && echo "public_network = {{ mgmt_cidr }}" >> ceph.conf && echo "cluster_network = {{ storage_cidr }} " >> 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]}} |