test other version
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
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
This commit is contained in:
@@ -1,34 +1,46 @@
|
||||
---
|
||||
- name: Include SSH keys check tasks
|
||||
include_tasks: 01-check-ssh-keys.yml
|
||||
when: ssh_keys_check_enabled
|
||||
tags: ['update', 'ssh-keys']
|
||||
- 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
|
||||
include_tasks: 02-check-system-updates.yml
|
||||
when: system_update_check_enabled
|
||||
tags: ['update', 'system']
|
||||
ansible.builtin.include_tasks: 02-check-system-updates.yml
|
||||
when: update_check_system | bool
|
||||
|
||||
- name: Include Spigot version check tasks
|
||||
include_tasks: 03-check-spigot-version.yml
|
||||
when: spigot_update_check_enabled
|
||||
tags: ['update', 'spigot']
|
||||
ansible.builtin.include_tasks: 03-check-spigot-version.yml
|
||||
when: update_check_spigot | bool
|
||||
|
||||
- name: Include new Spigot download tasks
|
||||
include_tasks: 04-download-new-spigot.yml
|
||||
when: new_spigot_available | default(false)
|
||||
tags: ['update', 'download']
|
||||
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 version compilation tasks
|
||||
include_tasks: 05-compile-new-version.yml
|
||||
when: new_spigot_available | default(false)
|
||||
tags: ['update', 'compile']
|
||||
- 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 version switch tasks
|
||||
include_tasks: 06-switch-versions.yml
|
||||
when: new_spigot_compiled | default(false)
|
||||
tags: ['update', 'switch']
|
||||
- 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 cleanup tasks
|
||||
include_tasks: 07-cleanup.yml
|
||||
tags: ['update', 'cleanup']
|
||||
- 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
|
Reference in New Issue
Block a user