13 lines
306 B
YAML
13 lines
306 B
YAML
---
|
|
- name: restart services
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
state: restarted
|
|
loop:
|
|
- minecraft
|
|
- ssh
|
|
listen: restart updated services
|
|
|
|
- name: switch minecraft version
|
|
ansible.builtin.command: "{{ minecraft_base_dir }}/switch_version.sh"
|
|
listen: switch to new version |