Fix Jinja2 syntax error (else if -> elif)
This commit is contained in:
parent
dd797ba6a7
commit
e2ba46bf01
|
@ -26,7 +26,7 @@ matrix_appservice_irc_database_name: matrix_appservice_irc
|
||||||
matrix_appservice_irc_database_connString: >-2
|
matrix_appservice_irc_database_connString: >-2
|
||||||
{%- if matrix_appservice_irc_database_engine == 'postgres' -%}
|
{%- if matrix_appservice_irc_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_appservice_irc_database_username }}:{{ matrix_appservice_irc_database_password }}@{{ matrix_appservice_irc_database_hostname }}:{{ matrix_appservice_irc_database_port }}/{{ matrix_appservice_irc_database_name }}?sslmode=disable
|
postgresql://{{ matrix_appservice_irc_database_username }}:{{ matrix_appservice_irc_database_password }}@{{ matrix_appservice_irc_database_hostname }}:{{ matrix_appservice_irc_database_port }}/{{ matrix_appservice_irc_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_appservice_irc_database_engine == 'nedb' -%}
|
{%- elif matrix_appservice_irc_database_engine == 'nedb' -%}
|
||||||
{{ matrix_appservice_irc_database_engine }}://{{ matrix_appservice_irc_database_file }}
|
{{ matrix_appservice_irc_database_engine }}://{{ matrix_appservice_irc_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ matrix_appservice_slack_database_file: /data
|
||||||
matrix_appservice_slack_database_connString: >-2
|
matrix_appservice_slack_database_connString: >-2
|
||||||
{%- if matrix_appservice_slack_database_engine == 'postgres' -%}
|
{%- if matrix_appservice_slack_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_appservice_slack_database_username }}:{{ matrix_appservice_slack_database_password }}@{{ matrix_appservice_slack_database_hostname }}:{{ matrix_appservice_slack_database_port }}/{{ matrix_appservice_slack_database_name }}?sslmode=disable
|
postgresql://{{ matrix_appservice_slack_database_username }}:{{ matrix_appservice_slack_database_password }}@{{ matrix_appservice_slack_database_hostname }}:{{ matrix_appservice_slack_database_port }}/{{ matrix_appservice_slack_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_appservice_slack_database_engine == 'nedb' -%}
|
{%- elif matrix_appservice_slack_database_engine == 'nedb' -%}
|
||||||
{{ matrix_appservice_slack_database_engine }}://{{ matrix_appservice_slack_database_file }}
|
{{ matrix_appservice_slack_database_engine }}://{{ matrix_appservice_slack_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ matrix_mx_puppet_discord_database_file: /data/database.db
|
||||||
matrix_mx_puppet_discord_database_connString: >-2
|
matrix_mx_puppet_discord_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_discord_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_discord_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_discord_database_username }}:{{ matrix_mx_puppet_discord_database_password }}@{{ matrix_mx_puppet_discord_database_hostname }}:{{ matrix_mx_puppet_discord_database_port }}/{{ matrix_mx_puppet_discord_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_discord_database_username }}:{{ matrix_mx_puppet_discord_database_password }}@{{ matrix_mx_puppet_discord_database_hostname }}:{{ matrix_mx_puppet_discord_database_port }}/{{ matrix_mx_puppet_discord_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_discord_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_discord_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_discord_database_engine }}://{{ matrix_mx_puppet_discord_database_file }}
|
{{ matrix_mx_puppet_discord_database_engine }}://{{ matrix_mx_puppet_discord_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ matrix_mx_puppet_instagram_database_file: /data/database.db
|
||||||
matrix_mx_puppet_instagram_database_connString: >-2
|
matrix_mx_puppet_instagram_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_instagram_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_instagram_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_instagram_database_username }}:{{ matrix_mx_puppet_instagram_database_password }}@{{ matrix_mx_puppet_instagram_database_hostname }}:{{ matrix_mx_puppet_instagram_database_port }}/{{ matrix_mx_puppet_instagram_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_instagram_database_username }}:{{ matrix_mx_puppet_instagram_database_password }}@{{ matrix_mx_puppet_instagram_database_hostname }}:{{ matrix_mx_puppet_instagram_database_port }}/{{ matrix_mx_puppet_instagram_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_instagram_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_instagram_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_instagram_database_engine }}://{{ matrix_mx_puppet_instagram_database_file }}
|
{{ matrix_mx_puppet_instagram_database_engine }}://{{ matrix_mx_puppet_instagram_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ matrix_mx_puppet_skype_database_file: /data/database.db
|
||||||
matrix_mx_puppet_skype_database_connString: >-2
|
matrix_mx_puppet_skype_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_skype_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_skype_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_skype_database_username }}:{{ matrix_mx_puppet_skype_database_password }}@{{ matrix_mx_puppet_skype_database_hostname }}:{{ matrix_mx_puppet_skype_database_port }}/{{ matrix_mx_puppet_skype_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_skype_database_username }}:{{ matrix_mx_puppet_skype_database_password }}@{{ matrix_mx_puppet_skype_database_hostname }}:{{ matrix_mx_puppet_skype_database_port }}/{{ matrix_mx_puppet_skype_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_skype_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_skype_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_skype_database_engine }}://{{ matrix_mx_puppet_skype_database_file }}
|
{{ matrix_mx_puppet_skype_database_engine }}://{{ matrix_mx_puppet_skype_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ matrix_mx_puppet_slack_database_file: /data/database.db
|
||||||
matrix_mx_puppet_slack_database_connString: >-2
|
matrix_mx_puppet_slack_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_slack_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_slack_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_slack_database_username }}:{{ matrix_mx_puppet_slack_database_password }}@{{ matrix_mx_puppet_slack_database_hostname }}:{{ matrix_mx_puppet_slack_database_port }}/{{ matrix_mx_puppet_slack_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_slack_database_username }}:{{ matrix_mx_puppet_slack_database_password }}@{{ matrix_mx_puppet_slack_database_hostname }}:{{ matrix_mx_puppet_slack_database_port }}/{{ matrix_mx_puppet_slack_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_slack_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_slack_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_slack_database_engine }}://{{ matrix_mx_puppet_slack_database_file }}
|
{{ matrix_mx_puppet_slack_database_engine }}://{{ matrix_mx_puppet_slack_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ matrix_mx_puppet_steam_database_file: /data/database.db
|
||||||
matrix_mx_puppet_steam_database_connString: >-2
|
matrix_mx_puppet_steam_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_steam_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_steam_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_steam_database_username }}:{{ matrix_mx_puppet_steam_database_password }}@{{ matrix_mx_puppet_steam_database_hostname }}:{{ matrix_mx_puppet_steam_database_port }}/{{ matrix_mx_puppet_steam_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_steam_database_username }}:{{ matrix_mx_puppet_steam_database_password }}@{{ matrix_mx_puppet_steam_database_hostname }}:{{ matrix_mx_puppet_steam_database_port }}/{{ matrix_mx_puppet_steam_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_steam_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_steam_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_steam_database_engine }}://{{ matrix_mx_puppet_steam_database_file }}
|
{{ matrix_mx_puppet_steam_database_engine }}://{{ matrix_mx_puppet_steam_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ matrix_mx_puppet_twitter_database_file: /data/database.db
|
||||||
matrix_mx_puppet_twitter_database_connString: >-2
|
matrix_mx_puppet_twitter_database_connString: >-2
|
||||||
{%- if matrix_mx_puppet_twitter_database_engine == 'postgres' -%}
|
{%- if matrix_mx_puppet_twitter_database_engine == 'postgres' -%}
|
||||||
postgresql://{{ matrix_mx_puppet_twitter_database_username }}:{{ matrix_mx_puppet_twitter_database_password }}@{{ matrix_mx_puppet_twitter_database_hostname }}:{{ matrix_mx_puppet_twitter_database_port }}/{{ matrix_mx_puppet_twitter_database_name }}?sslmode=disable
|
postgresql://{{ matrix_mx_puppet_twitter_database_username }}:{{ matrix_mx_puppet_twitter_database_password }}@{{ matrix_mx_puppet_twitter_database_hostname }}:{{ matrix_mx_puppet_twitter_database_port }}/{{ matrix_mx_puppet_twitter_database_name }}?sslmode=disable
|
||||||
{%- else if matrix_mx_puppet_twitter_database_engine == 'sqlite' -%}
|
{%- elif matrix_mx_puppet_twitter_database_engine == 'sqlite' -%}
|
||||||
{{ matrix_mx_puppet_twitter_database_engine }}://{{ matrix_mx_puppet_twitter_database_file }}
|
{{ matrix_mx_puppet_twitter_database_engine }}://{{ matrix_mx_puppet_twitter_database_file }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue