summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-deploy/templates
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-02-02 01:51:48 -0500
committergrakiss <grakiss.wanglei@huawei.com>2016-02-02 01:51:48 -0500
commitab99a7ee4e93b3a34f7a600461f7761a97b2c715 (patch)
treecb0ed964c1a0782da64cf895af9501c0630ca500 /deploy/adapters/ansible/roles/ceph-deploy/templates
parent1f6a0b442d6081811f90557cb7d56b16e211079d (diff)
Remove redundant files of ceph-deploy
JIRA:COMPASS-300 - remove the task of ceph-deploy Change-Id: Iec4a3e4185abe3da9ceedac5be38aa7de490fde8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-deploy/templates')
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j28
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j26
2 files changed, 0 insertions, 14 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2 b/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2
deleted file mode 100644
index a089167d..00000000
--- a/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -d "{{ ceph_cluster_dir[0] }}" ]; then
-cd {{ ceph_cluster_dir[0] }}
-ceph-deploy purge {{ ceph_cluster_hosts.stdout_lines[0] }}
-ceph-deploy purgedata {{ ceph_cluster_hosts.stdout_lines[0] }}
-ceph-deploy forgetkeys
-cd ..
-rm -r {{ ceph_cluster_dir[0] }}
-fi
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2 b/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2
deleted file mode 100644
index a0ffc6e3..00000000
--- a/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2
+++ /dev/null
@@ -1,6 +0,0 @@
-<secret ephemeral='no' private='no'>
- <uuid>{{ ceph_uuid.stdout_lines[0] }}</uuid>
- <usage type='ceph'>
- <name>client.cinder secret</name>
- </usage>
-</secret>