42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
|
#!/usr/bin/env ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
tmodloader_name: generic
|
||
|
|
||
|
# Container settings
|
||
|
tmodloader_uid: 1521
|
||
|
tmodloader_gid: 1521
|
||
|
tmodloader_state: started
|
||
|
tmodloader_image: rehashedsalt/tmodloader-docker:bleeding
|
||
|
tmodloader_restart_policy: unless-stopped
|
||
|
tmodloader_timezone: "America/Chicago"
|
||
|
# Container network settings
|
||
|
tmodloader_external_port: "7777"
|
||
|
tmodloader_data_prefix: "/data/terraria/{{ tmodloader_name }}"
|
||
|
|
||
|
# Server configuration
|
||
|
# We have two variables here; things you might not want to change and things
|
||
|
# that you probably will
|
||
|
tmodloader_config:
|
||
|
autocreate: "3"
|
||
|
difficulty: "1"
|
||
|
secure: "0"
|
||
|
tmodloader_config_extra:
|
||
|
maxplayers: "8"
|
||
|
motd: "Deployed via Ansible edition"
|
||
|
password: "dicks"
|
||
|
# Server configuration specific to this Ansible role
|
||
|
# DO NOT CHANGE
|
||
|
tmodloader_config_internal:
|
||
|
port: "7777"
|
||
|
world: "/terraria/ModLoader/Worlds/World.wld"
|
||
|
worldpath: "/terraria/ModLoader/Worlds"
|
||
|
# A list of mods to acquire
|
||
|
# The default server of mirror.sgkoi.dev is the official tModLoader mod browser
|
||
|
# mirror
|
||
|
tmodloader_mod_server: "https://mirror.sgkoi.dev"
|
||
|
# tmodloader_mods:
|
||
|
# - "CalamityMod"
|
||
|
# - "RecipeBrowser"
|
||
|
# - "BossChecklist"
|
||
|
tmodloader_mods: []
|