Commit 1a8b1134 by e0d

fixes whitespace in generated file, adds tag default.

parent 0ff01963
......@@ -15,11 +15,13 @@ FORUM_MONGO_USER: "cs_comments_service"
FORUM_MONGO_PASSWORD: "password"
FORUM_MONGO_HOSTS:
- "localhost"
FORUM_MONGO_TAGS: !!null
FORUM_MONGO_PORT: "27017"
FORUM_MONGO_DATABASE: "cs_comments_service"
FORUM_MONGO_URL: "mongodb://{{ FORUM_MONGO_USER }}:{{ FORUM_MONGO_PASSWORD }}@{%- for host in FORUM_MONGO_HOSTS -%}
{{host}}:{{ FORUM_MONGO_PORT }}{%- if not loop.last -%},{%- endif -%}
{%- endfor -%}/{{ FORUM_MONGO_DATABASE }}"
{{host}}:{{ FORUM_MONGO_PORT }}{%- if not loop.last -%},{%- endif -%}/{{ FORUM_MONGO_DATABASE }}{%- if FORUM_MONGO_TAGS -%}?{{ FORUM_MONGO_TAGS }}{%- endif -%}
{%- endfor -%}"
FORUM_SINATRA_ENV: "development"
FORUM_RACK_ENV: "development"
FORUM_NGINX_PORT: "18080"
......
# {{ ansible_managed }}
{% for name,value in forum_environment.items() %}
{%- if value %}
{% for name,value in forum_environment.items() -%}
{%- if value -%}
export {{ name }}="{{ value }}"
{%- endif %}
{% endfor %}
{% endif %}
{%- endfor %}
eval "$(rbenv init -)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment