Enable restarting SMP server

This commit is contained in:
Sam A. 2023-04-27 19:09:09 +02:00
parent f126ee621f
commit c1ff4f8df6
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -16,6 +16,7 @@
community.docker.docker_container:
name: smp-server
state: "{{ 'absent' if stop is defined and stop else 'started' }}"
restart: "{{ stop is undefined or not stop }}"
image: simplexchat/smp-server:{{ services.smp_server.version }}
restart_policy: always
default_host_ip: ''