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: # vim:ft=ansible:
# Game servers # Game servers
--- ---
- hosts: game1.dallas.mgmt.desu.ltd - hosts: vm-game-1.dallas.mgmt.desu.ltd
tasks: tasks:
- name: include tasks for gameservers - name: include tasks for gameservers
include_tasks: tasks/game/{{ item }} include_tasks: tasks/game/{{ item }}
with_items: with_items:
- minecraft-hexxit2-survival.yml - scpsl.yml
tags: [ always ] tags: [ always ]

View File

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