new version
Some checks failed
Ansible Minecraft CI/CD / Ansible Lint (push) Successful in 8s
Ansible Minecraft CI/CD / Syntax Check (push) Failing after 7s
Ansible Minecraft CI/CD / Deploy to Staging (push) Has been skipped
Ansible Minecraft CI/CD / Deploy to Production (push) Has been skipped

This commit is contained in:
2025-08-27 15:11:08 +02:00
parent 3e64946953
commit 8f0877cd53
105 changed files with 911 additions and 2540 deletions

View File

@@ -1,13 +1,5 @@
---
- 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
- name: restart minecraft
ansible.builtin.service:
name: minecraft
state: restarted