aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-01-13 14:59:11 +0800
committerJustin chi <chigang@huawei.com>2016-01-30 03:34:26 +0000
commit951cec74b7b8cef5db2f2bda7375653fedaedbf8 (patch)
tree219fdc31014836b059597bd6439dadbe6c6cb59b /deploy/adapters/ansible/openstack
parentffcccb6b50fe7e5954188b44f6666f7ac3dee3da (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/openstack')
-rw-r--r--deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml27
1 files changed, 26 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
index f60d61f3..e03fa9fe 100644
--- a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
+++ b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
@@ -113,8 +113,33 @@
- hosts: ceph_adm
remote_user: root
accelerate: true
+ roles: []
+ # - ceph-deploy
+
+- hosts: all
+ remote_user: root
+ accelerate: true
+ roles:
+ - ceph-purge
+ - ceph-config
+
+- hosts: ceph_mon
+ remote_user: root
+ accelerate: true
+ roles:
+ - ceph-mon
+
+- hosts: ceph_osd
+ remote_user: root
+ accelerate: true
+ roles:
+ - ceph-osd
+
+- hosts: all
+ remote_user: root
+ accelerate: true
roles:
- - ceph-deploy
+ - ceph-openstack
- hosts: all
remote_user: root