--- - 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