ansible/playbooks/tasks/game/zomboid.yml
2023-07-08 12:01:52 -05:00

29 lines
1.0 KiB
YAML

# vim:ft=ansible:
- name: docker deploy zomboid
community.docker.docker_container:
name: zomboid
state: started
# At time of writing, :latest segfaults because #67
image: renegademaster/zomboid-dedicated-server:1.6.0
restart_policy: unless-stopped
pull: yes
env:
ADMIN_USERNAME: "Salt"
ADMIN_PASSWORD: "SuperMegaDicks"
MAX_PLAYERS: "8"
MOD_NAMES: "DRAW_ON_MAP;BB_CommonSense;MapLegendUI;BetterSortCC;VISIBLE_BACKPACK_BACKGROUND;MapSymbolSizeSlider;Lingering Voices"
MOD_WORKSHOP_IDS: "2804531012;2875848298;2710167561;2313387159;2808679062;2734705913;2874678809"
RCON_PASSWORD: "SuperMegaDicks"
SERVER_NAME: "The Salty Spitoon"
SERVER_PASSWORD: "dicks"
STEAM_VAC: "false"
TZ: "America/Chicago"
ports:
- "8766:8766/udp"
- "16261:16261/udp"
- "16262:16262/udp"
volumes:
- /data/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /data/zomboid/ZomboidConfig:/home/steam/Zomboid
tags: [ docker, zomboid ]