check new version
Some checks failed
Ansible Minecraft Server CI/CD / lint (push) Failing after 21s
Ansible Minecraft Server CI/CD / test (push) Has been skipped
Ansible Minecraft Server CI/CD / deploy (push) Has been skipped

This commit is contained in:
2025-08-27 07:59:19 +02:00
parent 7a2ccb537b
commit 9ea9ac7254
125 changed files with 2696 additions and 1511 deletions

View File

@@ -1,46 +1,28 @@
---
- name: Include SSH keys update tasks
ansible.builtin.include_tasks: 01-update-ssh-keys.yml
when: update_check_ssh_keys | bool
- name: Include check SSH keys tasks
ansible.builtin.include_tasks: 01-check-ssh-keys.yml
when: update_check_ssh_keys
- name: Include system updates check tasks
- name: Include check system updates tasks
ansible.builtin.include_tasks: 02-check-system-updates.yml
when: update_check_system | bool
when: update_check_system
- name: Include Spigot version check tasks
- name: Include check Spigot version tasks
ansible.builtin.include_tasks: 03-check-spigot-version.yml
when: update_check_spigot | bool
when: update_check_spigot
- name: Include new Spigot download tasks
ansible.builtin.include_tasks: 04-download-new-spigot.yml
when:
- update_check_spigot | bool
- spigot_update_available is defined
- spigot_update_available | bool
- name: Include download new version tasks
ansible.builtin.include_tasks: 04-download-new-version.yml
when: spigot_needs_update | default(false)
- name: Include new Spigot compilation tasks
ansible.builtin.include_tasks: 05-compile-new-spigot.yml
when:
- update_check_spigot | bool
- spigot_update_available is defined
- spigot_update_available | bool
- name: Include compile new version tasks
ansible.builtin.include_tasks: 05-compile-new-version.yml
when: spigot_needs_update | default(false)
- name: Include new version configuration tasks
- name: Include configure new version tasks
ansible.builtin.include_tasks: 06-configure-new-version.yml
when:
- update_check_spigot | bool
- spigot_update_available is defined
- spigot_update_available | bool
- spigot_compilation_successful is defined
- spigot_compilation_successful | bool
when: spigot_needs_update | default(false)
- name: Include version switching tasks
- name: Include switch versions tasks
ansible.builtin.include_tasks: 07-switch-versions.yml
when:
- update_check_spigot | bool
- spigot_update_available is defined
- spigot_update_available | bool
- spigot_compilation_successful is defined
- spigot_compilation_successful | bool
- spigot_configuration_successful is defined
- spigot_configuration_successful | bool
when: spigot_update_ready | default(false)