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