diff options
author | 2017-09-20 14:31:14 +0800 | |
---|---|---|
committer | 2017-10-26 16:38:13 +0800 | |
commit | d0b985617d8a167147157a70b448db43c50e6474 (patch) | |
tree | df075c5be1df13864b405b78a91d6c194328dd26 /xci/playbooks/configure-targethosts.yml | |
parent | f2727f7ab48423e3950a42af96de60b2e1b7abfb (diff) |
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 <wutianwei1@huawei.com>
Diffstat (limited to 'xci/playbooks/configure-targethosts.yml')
-rw-r--r-- | xci/playbooks/configure-targethosts.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |