--- # Paper server; the world and the server jar live next to the compose # file in /opt/minecraft and are not managed here. A compose change # recreates the container, so it is stopped with time to save first. - name: Deploy Minecraft ansible.builtin.include_role: name: docker_service vars: service_name: "minecraft" service_base_path: "{{ services_base_path }}/minecraft" service_files: - { src: "docker-compose.yml", dest: "docker-compose.yml" } service_graceful_stop: - { container: minecraft, timeout: 120 } health_check_enabled: false