]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Use 'graphite-manage migrate' instead of 'syncdb'
authorZack Cerza <zack@redhat.com>
Thu, 5 Oct 2017 19:42:50 +0000 (13:42 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 5 Oct 2017 19:42:50 +0000 (13:42 -0600)
syncdb is deprecated.

Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-grafana/tasks/configure_graphite_web.yml

index 5a02be46a727f0932abb98ccb29d96ea70cf12f5..a516156539c6ec9a88d5f552b2d932754575372c 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - name: Create Graphite DB tables
-  command: /usr/bin/graphite-manage syncdb --noinput
+  command: /usr/bin/graphite-manage migrate --noinput
   become_user: "{{ graphite.unix_user[ansible_pkg_mgr] }}"
 
 - name: Build Graphite index