aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ts3server.ini.j2
diff options
context:
space:
mode:
authorEgbert Verhage <egbert@eggiecode.org>2016-08-21 12:54:27 +0200
committerEgbert Verhage <egbert@eggiecode.org>2016-08-21 12:54:27 +0200
commitd2bc318f6ee5779ef3eac85890cfd76de9f77a50 (patch)
treed368bba41b9f4d5c9d814c9d508e682115f2236b /templates/ts3server.ini.j2
parent9c055a880110226dfae26db9a92a7d6c34b7bb11 (diff)
downloadansible-teamspeak-d2bc318f6ee5779ef3eac85890cfd76de9f77a50.tar.gz
ansible-teamspeak-d2bc318f6ee5779ef3eac85890cfd76de9f77a50.tar.xz
ansible-teamspeak-d2bc318f6ee5779ef3eac85890cfd76de9f77a50.zip
Fixed issue #1
Diffstat (limited to 'templates/ts3server.ini.j2')
-rw-r--r--templates/ts3server.ini.j217
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/ts3server.ini.j2 b/templates/ts3server.ini.j2
new file mode 100644
index 0000000..ee6d6f3
--- /dev/null
+++ b/templates/ts3server.ini.j2
@@ -0,0 +1,17 @@
+machine_id={{ teamspeak_ini.machine_id }}
+
+default_voice_port={{teamspeak_ini.voice.default_port}}
+voice_ip={{teamspeak_ini.voice.ip}}
+
+query_port={{teamspeak_ini.query.port}}
+query_ip={{teamspeak_ini.query.ip}}
+
+filetransfer_port={{teamspeak_ini.filetransfer.port}}
+filetransfer_ip={{teamspeak_ini.filetransfer.ip}}
+
+dbplugin={{ teamspeak_ini.db_plugin }}
+dbpluginparameter={{ 'ts3db_mysql.ini' if teamspeak_ini.db_plugin == 'ts3db_mysql' else '' }}
+dbsqlpath=sql/
+dbsqlcreatepath={{ 'create_mysql/' if teamspeak_ini.db_plugin == 'ts3db_mysql' else 'create_sqlite/' }}
+logpath={{ teamspeak_ini.logpath }}
+logquerycommands={{ teamspeak_ini.logquerycommands }}