diff --git a/roles/graphite/graphite/tasks/main.yml b/roles/graphite/graphite/tasks/main.yml index 2276fb3627..b63b665f0a 100644 --- a/roles/graphite/graphite/tasks/main.yml +++ b/roles/graphite/graphite/tasks/main.yml @@ -38,3 +38,8 @@ - service - graphite - carbon + +- name: Initialize graphite-web database (TODO - make this not use sqlite?) + command: /usr/bin/graphite-manage syncdb + tags: + - graphite diff --git a/roles/graphite/graphite/templates/graphite-web.conf b/roles/graphite/graphite/templates/graphite-web.conf index 8263705128..9268428231 100644 --- a/roles/graphite/graphite/templates/graphite-web.conf +++ b/roles/graphite/graphite/templates/graphite-web.conf @@ -1,3 +1,8 @@ + + AllowOverride none + Require all granted + + ServerName graphite.cloud.fedoraproject.org DocumentRoot "/usr/share/graphite/webapp"