From: Zack Cerza Date: Thu, 5 Oct 2017 19:42:50 +0000 (-0600) Subject: Use 'graphite-manage migrate' instead of 'syncdb' X-Git-Tag: v1.0~9^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d864fe6f6df58ec3c7154c800db0f4121e0e3fe2;p=cephmetrics.git Use 'graphite-manage migrate' instead of 'syncdb' syncdb is deprecated. Signed-off-by: Zack Cerza --- diff --git a/ansible/roles/ceph-grafana/tasks/configure_graphite_web.yml b/ansible/roles/ceph-grafana/tasks/configure_graphite_web.yml index 5a02be4..a516156 100644 --- a/ansible/roles/ceph-grafana/tasks/configure_graphite_web.yml +++ b/ansible/roles/ceph-grafana/tasks/configure_graphite_web.yml @@ -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