new version
Some checks failed
Some checks failed
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user