Files
Ansible-Minecraft-Server/roles/05-update/tasks/main.yml
hcornet 7a2ccb537b
Some checks failed
Ansible Minecraft CI/CD Pipeline / Ansible Lint Check (push) Successful in 58s
Ansible Minecraft CI/CD Pipeline / Project Structure Validation (push) Failing after 3s
Ansible Minecraft CI/CD Pipeline / Security Scan (push) Successful in 4s
Ansible Minecraft CI/CD Pipeline / Deploy to Staging (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Deploy to Production (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Backup System Check (push) Has been skipped
test other version
2025-08-26 21:59:21 +02:00

46 lines
1.5 KiB
YAML

---
- name: Include SSH keys update tasks
ansible.builtin.include_tasks: 01-update-ssh-keys.yml
when: update_check_ssh_keys | bool
- name: Include system updates check tasks
ansible.builtin.include_tasks: 02-check-system-updates.yml
when: update_check_system | bool
- name: Include Spigot version check tasks
ansible.builtin.include_tasks: 03-check-spigot-version.yml
when: update_check_spigot | bool
- 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 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 new version configuration 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
- name: Include version switching 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