We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25ac31 commit 0bc84ecCopy full SHA for 0bc84ec
tasks/Linux/system.yml
@@ -14,11 +14,13 @@
14
when: transport != 'repositories'
15
16
- name: 'Perform {{ java_binary_type }} install'
17
- include_tasks: '{{ install_task }}'
+ ansible.builtin.include_tasks:
18
+ file: "{{ item }}"
19
with_first_found:
- - 'install/{{ java_distribution }}_{{ java_binary_type }}.yml'
20
- - 'install/{{ java_binary_type }}.yml'
21
- - 'install/{{ ansible_os_family }}.yml'
22
- loop_control:
23
- loop_var: install_task
+ - files:
+ - '{{ java_distribution }}_{{ java_binary_type }}.yml'
+ - '{{ java_binary_type }}.yml'
+ - '{{ ansible_os_family }}.yml'
24
+ paths:
25
+ - tasks/Linux/install
26
become: true
0 commit comments