From 7d2afdfaefde143da3df5a2dd36a4153ea6e797f Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Tue, 15 Oct 2024 11:30:06 -0500 Subject: [PATCH] Add docker network to satisfucktory --- playbooks/tasks/game/satisfactory.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/tasks/game/satisfactory.yml b/playbooks/tasks/game/satisfactory.yml index 5d025de..1d3fe9f 100644 --- a/playbooks/tasks/game/satisfactory.yml +++ b/playbooks/tasks/game/satisfactory.yml @@ -1,4 +1,7 @@ # vim:ft=ansible: +- name: ensure docker network + docker_network: name=satisfactory + tags: [ satisfactory, docker, network ] - name: docker deploy satisfactory docker_container: name: satisfactory @@ -6,6 +9,9 @@ image: wolveix/satisfactory-server:latest restart_policy: unless-stopped pull: yes + networks: + - name: satisfactory + aliases: [ "gameserver" ] env: MAXPLAYERS: "8" # We have this turned on for modding's sake