roles/7dtd/tasks/main.yml: add lgsm dir + template tasks + bind mount for config-lgsm - deploys config each run
This commit is contained in:
14
roles/7dtd/templates/sdtdserver.cfg.j2
Normal file
14
roles/7dtd/templates/sdtdserver.cfg.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
##################################
|
||||
####### Instance Settings ########
|
||||
##################################
|
||||
# Managed by Ansible (roles/7dtd/templates/sdtdserver.cfg.j2) - local edits are overwritten on re-run.
|
||||
# Source of truth: sdtd_* variables in vars.yml.
|
||||
|
||||
## 7dtd answers NO A2S query on the game port (ServerVisibility=0 + SteamNetworking disabled),
|
||||
## so the default gamedig-based monitor (querymode=2) always fails and force-restarts the healthy
|
||||
## server every ~5 min. querymode=1 checks the tmux session instead.
|
||||
querymode="{{ sdtd_lgsm_querymode }}"
|
||||
|
||||
## LGSM graceful stop reads ${telnetpassword} from this cfg (the game XML TelnetPassword is parsed
|
||||
## into ${telnetpass}, a different var). Without it, stop falls back to a hard tmux kill.
|
||||
telnetpassword="{{ sdtd_telnet_password }}"
|
||||
Reference in New Issue
Block a user