summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-08-15 08:59:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-15 08:59:08 +0000
commit5f2c78057f1a15ca90c5c25025f713a56a48dfc6 (patch)
treecd17d838ddfbeafe88a5fbb7ac9eab751e114559 /deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2
parent7afdbb1351729dffa7d4bba7a2c505ef707d10c9 (diff)
parent3fc9da6b7dd0e3dc2d1afd7b2dfad4f4189232d4 (diff)
Merge "Make the storage use ceph"
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2')
-rw-r--r--deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2 b/deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2
new file mode 100644
index 00000000..c85dd59b
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-osa/templates/ceph.yml.j2
@@ -0,0 +1,14 @@
+# The infra nodes where the Ceph mon services will run
+ceph-mon_hosts:
+{% for host in groups.ceph_mon%}
+ {{host}}:
+ ip: {{ hostvars[host]['ansible_ssh_host'] }}
+{% endfor %}
+
+# The nodes that the Ceph OSD disks will be running on
+ceph-osd_hosts:
+{% for host in groups.ceph_osd%}
+ {{host}}:
+ ip: {{ hostvars[host]['ansible_ssh_host'] }}
+{% endfor %}
+