diff options
author | Tim Flink <tflink@fedoraproject.org> | 2015-09-16 17:54:44 +0000 |
---|---|---|
committer | Tim Flink <tflink@fedoraproject.org> | 2015-09-16 17:54:44 +0000 |
commit | 8fbfffbd9a69b7f018a02fbb7fed3249caee3de3 (patch) | |
tree | d6f0d6faebfd001d2b1acb4df5f3915fa0af931b | |
parent | c0f68910f32dfb9e792fd0e735de7f09ffd59ae5 (diff) | |
download | ansible-8fbfffbd9a69b7f018a02fbb7fed3249caee3de3.tar.gz ansible-8fbfffbd9a69b7f018a02fbb7fed3249caee3de3.tar.xz ansible-8fbfffbd9a69b7f018a02fbb7fed3249caee3de3.zip |
forcing testdays to use localhost for database URI until resultsdb roles are upgraded
-rw-r--r-- | roles/testdays/templates/settings.py.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/testdays/templates/settings.py.j2 b/roles/testdays/templates/settings.py.j2 index 215c34855..6f3b2354d 100644 --- a/roles/testdays/templates/settings.py.j2 +++ b/roles/testdays/templates/settings.py.j2 @@ -1,6 +1,8 @@ RESULTSDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0' SECRET_KEY = '{{ testdays_secret_key }}' -SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@{{ testdays_db_host }}:{{ testdays_db_port }}/{{ testdays_db_name }}' +# forcing this to be localhost for now - a bit hacky but with the current resultsdb roles, it'd need a freeze break request to fix properly +#SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@{{ testdays_db_host }}:{{ testdays_db_port }}/{{ testdays_db_name }}' +SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@127.0.0.1:{{ testdays_db_port }}/{{ testdays_db_name }}' SHOW_DB_URI = False PRODUCTION = True FILE_LOGGING = False |