aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/gnocchi/tasks/deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/gnocchi/tasks/deploy.yml')
-rw-r--r--ansible/roles/gnocchi/tasks/deploy.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/gnocchi/tasks/deploy.yml b/ansible/roles/gnocchi/tasks/deploy.yml
index df3d43d96..0fb27eca9 100644
--- a/ansible/roles/gnocchi/tasks/deploy.yml
+++ b/ansible/roles/gnocchi/tasks/deploy.yml
@@ -1,4 +1,14 @@
---
+- include: ceph.yml
+ when:
+ - enable_ceph|bool
+ - gnocchi_backend_storage == 'ceph'
+
+- include: external_ceph.yml
+ when:
+ - enable_ceph|bool == False
+ - gnocchi_backend_storage == 'ceph'
+
- include: register.yml
when: inventory_hostname in groups['gnocchi-api']