ansible/playbooks/tasks/game/zomboid.yml
2023-07-24 23:48:12 -05:00

32 lines
1.6 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"
MAP_NAMES: "vehicle_interior;Muldraugh, KY"
MOD_NAMES: "DRAW_ON_MAP;BB_CommonSense;MapLegendUI;BetterSortCC;VISIBLE_BACKPACK_BACKGROUND;MapSymbolSizeSlider;Lingering Voices;FRUsedCars;FRUsedCarsNLF;RV_Interior_MP;SkillRecoveryJournal;MoreDescriptionForTraits4166;MinimalDisplayBars;EQUIPMENT_UI;manageContainers;CombatText;MiniHealthPanel;MoreCLR_desc4mood;BoredomTweaks;modoptions;ShowBulbCondition;BulbMechanics;AutoMechanics;AutoSewing;P4HasBeenRead;coavinsfirearms"
MOD_WORKSHOP_IDS: "2804531012;2875848298;2710167561;2313387159;2808679062;2734705913;2874678809;1510950729;2822286426;2503622437;2685168362;2004998206;2950902979;2650547917;2286124931;2866258937;2763647806;2725360009;2169435993;2964435557;2778537451;2588598892;2584991527;2544353492;2847408431"
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"
- "27015:27015/tcp"
- "27015:27015/udp"
volumes:
- /data/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /data/zomboid/ZomboidConfig:/home/steam/Zomboid
tags: [ docker, zomboid ]