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,28 +1,23 @@
---
- name: Include check SSH keys tasks
ansible.builtin.include_tasks: 01-check-ssh-keys.yml
when: update_check_ssh_keys
# Tâches principales mises à jour
- import_tasks: 01-check-ssh-keys.yml
tags: [update, ssh-keys]
- name: Include check system updates tasks
ansible.builtin.include_tasks: 02-check-system-updates.yml
when: update_check_system
- import_tasks: 02-check-system-updates.yml
tags: [update, system]
when: update_system_packages | default(false)
- name: Include check Spigot version tasks
ansible.builtin.include_tasks: 03-check-spigot-version.yml
when: update_check_spigot
- import_tasks: 03-check-spigot-version.yml
tags: [update, spigot-version]
- name: Include download new version tasks
ansible.builtin.include_tasks: 04-download-new-version.yml
when: spigot_needs_update | default(false)
- import_tasks: 04-download-new-spigot.yml
tags: [update, spigot-download]
when: spigot_update_available | default(false)
- name: Include compile new version tasks
ansible.builtin.include_tasks: 05-compile-new-version.yml
when: spigot_needs_update | default(false)
- import_tasks: 05-compile-new-spigot.yml
tags: [update, spigot-compile]
when: spigot_update_available | default(false)
- name: Include configure new version tasks
ansible.builtin.include_tasks: 06-configure-new-version.yml
when: spigot_needs_update | default(false)
- name: Include switch versions tasks
ansible.builtin.include_tasks: 07-switch-versions.yml
when: spigot_update_ready | default(false)
- import_tasks: 06-switch-versions.yml
tags: [update, spigot-switch]
when: spigot_update_available | default(false) and spigot_compilation_success | default(false)