From d0b985617d8a167147157a70b448db43c50e6474 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Wed, 20 Sep 2017 14:31:14 +0800 Subject: Integrate ceph in XCI Openstack ansible support to deploy ceph. The purpose of this patch is to configure the ceph, just like we configure other openstack components. The default is to not deploy ceph. If you want to deploy ceph you just need to export XCI_CEPH_ENABLED=true before running xci-deploy.sh. When deployed successfully, the openstack storage will use ceph. Change-Id: Ifd8d16fdce2914b6316842e72bbfd93228ea059d Signed-off-by: wutianwei --- xci/playbooks/configure-targethosts.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xci/playbooks/configure-targethosts.yml') diff --git a/xci/playbooks/configure-targethosts.yml b/xci/playbooks/configure-targethosts.yml index 4cee1df8..b7b09cfb 100644 --- a/xci/playbooks/configure-targethosts.yml +++ b/xci/playbooks/configure-targethosts.yml @@ -24,6 +24,7 @@ remote_user: root vars_files: - ../var/flavor-vars.yml + - ../var/opnfv.yml pre_tasks: - name: Load distribution variables include_vars: @@ -32,6 +33,8 @@ - role: configure-network # we need to force sync time with ntp or the nodes will be out of sync timewise - role: synchronize-time + - role: configure-ceph + when: XCI_CEPH_ENABLED == "true" - hosts: compute00 remote_user: root -- cgit 1.2.3-korg