ansible/playbooks/tasks/game/zomboid.yml

39 lines
2.3 KiB
YAML
Raw Normal View History

2023-07-08 12:01:52 -05:00
# vim:ft=ansible:
- name: docker deploy zomboid
community.docker.docker_container:
name: zomboid
state: started
2024-01-23 20:02:16 -06:00
# 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
2023-07-08 12:01:52 -05:00
restart_policy: unless-stopped
pull: yes
2024-01-23 13:15:46 -06:00
user: "1000:1000"
2023-07-08 12:01:52 -05:00
env:
ADMIN_USERNAME: "Salt"
ADMIN_PASSWORD: "SuperMegaDicks"
MAX_PLAYERS: "8"
2023-07-08 18:53:43 -05:00
MAP_NAMES: "vehicle_interior;Muldraugh, KY"
2024-01-23 12:48:28 -06:00
# 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"
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"
2023-07-08 12:01:52 -05:00
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"
2023-07-11 00:15:55 -05:00
- "27015:27015/tcp"
- "27015:27015/udp"
2023-07-08 12:01:52 -05:00
volumes:
- /data/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /data/zomboid/ZomboidConfig:/home/steam/Zomboid
tags: [ docker, zomboid ]