ansible/roles/docker-minecraft/handlers/main.yml

8 lines
196 B
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
- name: restart minecraft {{ minecraft_name }}
docker_container:
name: "minecraft-{{ minecraft_name }}"
state: started
restart: yes