Spin up a SL server

This commit is contained in:
Salt 2021-12-01 22:34:46 -06:00
parent 386b190130
commit a71071b321
2 changed files with 5 additions and 5 deletions

View File

@ -2,10 +2,10 @@
# vim:ft=ansible:
# Game servers
---
- hosts: game1.dallas.mgmt.desu.ltd
- hosts: vm-game-1.dallas.mgmt.desu.ltd
tasks:
- name: include tasks for gameservers
include_tasks: tasks/game/{{ item }}
with_items:
- minecraft-hexxit2-survival.yml
- scpsl.yml
tags: [ always ]

View File

@ -4,7 +4,7 @@
- name: docker deploy scpsl
docker_container:
name: scpsl
state: absent
state: started
image: rehashedsalt/scpsl:latest
restart_policy: unless-stopped
pull: yes
@ -13,6 +13,6 @@
- "7777-7784:7777-7784"
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/steam/steamcmd
- /home/steam/scp_server
- /data/scpsl/steamcmd:/home/steam/steamcmd
- /data/scpsl/scp_server:/home/steam/scp_server
tags: [ docker, scpsl ]