check new version
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
---
|
||||
- name: Include Java presence check tasks
|
||||
ansible.builtin.include_tasks: 01-check-java-presence.yml
|
||||
- name: Include check Java tasks
|
||||
ansible.builtin.include_tasks: 01-check-java.yml
|
||||
|
||||
- name: Include Java installation tasks
|
||||
ansible.builtin.include_tasks: 02-install-java.yml
|
||||
when: java_needs_installation | default(true)
|
||||
- name: Include remove old Java tasks
|
||||
ansible.builtin.include_tasks: 02-remove-old-java.yml
|
||||
when: java_needs_update | default(false)
|
||||
|
||||
- name: Include Java installation verification tasks
|
||||
ansible.builtin.include_tasks: 03-verify-java-installation.yml
|
||||
- name: Include install Java tasks
|
||||
ansible.builtin.include_tasks: 03-install-java.yml
|
||||
when: java_not_installed | default(false) or java_needs_update | default(false)
|
||||
|
||||
- name: Include Java version validation tasks
|
||||
ansible.builtin.include_tasks: 04-validate-java-version.yml
|
||||
- name: Include configure Java tasks
|
||||
ansible.builtin.include_tasks: 04-configure-java.yml
|
||||
|
||||
- name: Include validate installation tasks
|
||||
ansible.builtin.include_tasks: 05-validate-installation.yml
|
Reference in New Issue
Block a user