From 3fc9da6b7dd0e3dc2d1afd7b2dfad4f4189232d4 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Mon, 7 Aug 2017 20:03:34 +0800 Subject: Make the storage use ceph 1. ceph.yml define which host install ceph-mon and ceph-osd 2. user_ceph.yml define variables of ceph and cinder backend 3. user_variables_ceph.yml.j2 define variables of ceph for user Change-Id: Iafea998f4603eb4b5c15a26f2387e6cb04c35d4c Signed-off-by: wutianwei --- deploy/adapters/ansible/roles/storage/vars/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 deploy/adapters/ansible/roles/storage/vars/main.yml (limited to 'deploy/adapters/ansible/roles/storage/vars') diff --git a/deploy/adapters/ansible/roles/storage/vars/main.yml b/deploy/adapters/ansible/roles/storage/vars/main.yml new file mode 100644 index 00000000..28e2ad06 --- /dev/null +++ b/deploy/adapters/ansible/roles/storage/vars/main.yml @@ -0,0 +1,18 @@ +############################################################################## +# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +--- +host_loopback_ceph_size: "100G" +rc_local: /etc/rc.local +rc_local_insert_before: "^exit 0$" +bootstrap_host_data_disk_device: null +bootstrap_host_data_disk_device_force: "no" +ceph_osd_images: + - 'ceph1' + - 'ceph2' + - 'ceph3' -- cgit 1.2.3-korg