ansible/playbooks/tasks/game/zomboid.yml

39 lines
2.4 KiB
YAML

# vim:ft=ansible:
- name: docker deploy zomboid
community.docker.docker_container:
name: zomboid
state: started
# Wanted to use latest but:
# https://github.com/Renegade-Master/zomboid-dedicated-server/issues/74
# https://github.com/Renegade-Master/zomboid-dedicated-server/issues/68
image: quay.io/renegade_master/zomboid-dedicated-server:1.6.1
restart_policy: unless-stopped
pull: yes
user: "1000:1000"
env:
ADMIN_USERNAME: "Salt"
ADMIN_PASSWORD: "SuperMegaDicks"
MAX_PLAYERS: "8"
MAP_NAMES: "vehicle_interior;Muldraugh, KY"
# Generating this list by hand is asinine
# Go here: https://pzidgrabber.com/
# Use this: https://steamcommunity.com/sharedfiles/filedetails/?id=3145884377
# Add mods to that collection if you want to add them here, then regen these two fields.
MOD_NAMES: "P4HasBeenRead;AutoSewing;AutoMechanics;BulbMechanics;ShowBulbCondition;modoptions;BoredomTweaks;MoreCLR_desc4mood;MiniHealthPanel;MiniHealthPanel;CombatText;manageContainers;EQUIPMENT_UI;ModManager;MoreDescriptionForTraits4166;SkillRecoveryJournal;RV_Interior_MP;RV_Interior_Vanilla;FRUsedCars;FRUsedCarsFT;FRUsedCarsNLF;FRUsedCarsNRN;Lingering;MapSymbolSizeSlider;VISIBLE_BACKPACK_BACKGROUND;BetterSortCC;MapLegendUI;BB_CommonSense;DRAW_ON_MAP;TIHFP;coavinsfirearmbase;coavinsfirearmsupport1;coavinsfirearmsupport2;coavinsfirearmsupport3;coavinsfirearmsupport4;Shrek1and2intheirENTIRETYasvhs;SWEETCURE;NoVanillaVehicles;AnotherPlayersOnMinimap;AnimSync;DescriptiveSkillTooltips"
MOD_WORKSHOP_IDS: "2544353492;2584991527;2588598892;2778537451;2964435557;2169435993;2725360009;2763647806;2866258937;2286124931;2650547917;2950902979;2694448564;2685168362;2503622437;2822286426;1510950729;2874678809;2734705913;2808679062;2313387159;2710167561;2875848298;2804531012;3101379739;3138722707;3046328981;2535461640;3117340325;2959512313;3134776712;2949818236"
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 ]