From 1afbc806b228c756f226c68111210aec6916e8e9 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 8 Jun 2021 23:18:26 -0500 Subject: [PATCH] How about starbound --- inventory/group_vars/all.yml | 16 ++++++++++++++++ playbooks/game.yml | 15 +++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index 383c520..ad393e6 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -181,6 +181,22 @@ secret_pleroma_signing_salt: !vault | 3563396435643363620a646337346561393863366361643536356363626334343264343861663131 3466 +# For Steam games +steam_username: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 37633565343839646163383265646361366438643265363030353465653836653736633239316663 + 6363343863356538376238643133353036316364656266650a323962313564646365373461383033 + 61653035323932333838616138643731643738396564366566356232336138363665623436383433 + 6564326139333337340a343861613865393265353637393537393439323363656365373639623934 + 3037 +steam_password: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 33346235653262313630316135303131663437643234366662663037386135393865653433613336 + 3832313731326631383761633534656237653931346431630a666239313061653664363530373334 + 31373330346535366633313364626132326461363331653431346666366135613639646132316434 + 3838363033643039320a663539633437643161343961633631613435333930393230393232306665 + 39343162636338393261616130656365313765393033653839383365323163633261 + # For Matrix/Synapse secret_matrix_9iron_db_pass: !vault | $ANSIBLE_VAULT;1.1;AES256 diff --git a/playbooks/game.yml b/playbooks/game.yml index 66f6e5f..af1b13e 100755 --- a/playbooks/game.yml +++ b/playbooks/game.yml @@ -29,6 +29,7 @@ pull: yes env: TZ: "America/Chicago" + ARGS: "-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1" JRE_XMX: 5G JRE_XMS: 2G FORGE_PACK_ZIP: "https://srv.9iron.club/files/packs/1.16.5-valhelsia/server.zip" @@ -43,6 +44,20 @@ tags: [ docker, minecraft ] - hosts: game2.desu.ltd tasks: + - name: docker deploy starbound + docker_container: + name: starbound + state: started + image: didstopia/starbound-server + restart_policy: unless-stopped + pull: yes + env: + SKIP_STEAMCMD: "true" + ports: + - "21025:21025" + volumes: + - /data/starbound/main:/steamcmd/starbound + tags: [ docker, starbound ] # https://github.com/mkrupczak3/SCP-SECRET-LAB-DOCKER # Kinda forked it and changed a few settings tho - name: docker deploy scpsl