Spin up a SL server
This commit is contained in:
parent
386b190130
commit
a71071b321
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user