Skip to content

feat(ansible): re-enable rust_game role on nas - #466

Merged
compscidr merged 2 commits into
mainfrom
jason/enable-rust-game
Aug 3, 2026
Merged

feat(ansible): re-enable rust_game role on nas#466
compscidr merged 2 commits into
mainfrom
jason/enable-rust-game

Conversation

@compscidr

Copy link
Copy Markdown
Owner

Re-enables the rust_game role in nas.yml (disabled in ae1518c when the servers broke).

Root cause of the breakage: rust-weekly/rust-monthly were restart-looping because ghcr.io/compscidr/rust-server is built on Ubuntu 20.04 (glibc 2.31) while Facepunch's current RustDedicated requires glibc ≥ 2.34. Fixed in compscidr/rust-server#1 by moving to the nodejs-22-steamcmd-ubuntu-24.04 base.

Deploy order:

  1. Merge fix: update base image to nodejs-22-steamcmd-ubuntu-24.04 (fixes GLIBC restart loop) rust-server#1 → CI publishes new ghcr.io/compscidr/rust-server:latest
  2. Merge this PR
  3. ansible-playbook -i inventory.yml nas.yml --tags rust-weekly,rust-monthlydocker_container has pull: true, so it pulls the fixed image and recreates both containers. Saves/config persist in /etc/rust/server/* bind mounts.

cs2_game left disabled — likely has the same glibc problem, can be tackled separately.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 14, 2026 01:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Re-enables the rust_game Ansible role in the NAS playbook so Rust game server provisioning/management runs again on nas.local, aligning with the stated plan to deploy after the upstream container image is rebuilt with a newer glibc.

Changes:

  • Re-enabled the rust_game role in ansible/nas.yml by uncommenting it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@compscidr compscidr mentioned this pull request Aug 2, 2026
2 tasks
@compscidr
compscidr force-pushed the jason/enable-rust-game branch from bb1904b to e7ff81d Compare August 3, 2026 01:22
compscidr and others added 2 commits August 2, 2026 18:59
The rust servers were disabled in ae1518c while they were broken.
Root cause was the ghcr.io/compscidr/rust-server image being built
on ubuntu 20.04 (glibc 2.31) while RustDedicated now requires
glibc >= 2.34 — fixed in compscidr/rust-server#1 by moving to the
ubuntu 24.04 base. Re-enabling the role so ansible manages the
containers again and pulls the fixed image.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The rust_gameserver container entrypoint chowns /steamcmd to the
container user (uid 1000) at startup, but the 'Copy oxide plugins'
tasks run after the container is deployed and re-copy
oxide.config.json as root:root 644. Oxide then fails to boot with
UnauthorizedAccessException when it tries to re-save its config.
Copy the files as uid/gid 1000 to match the container user.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@compscidr
compscidr force-pushed the jason/enable-rust-game branch from e7ff81d to e59ad87 Compare August 3, 2026 01:59
@compscidr
compscidr merged commit 64a4bde into main Aug 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants