Skip to content

Commit 0bc84ec

Browse files
first found fix (#143)
1 parent d25ac31 commit 0bc84ec

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tasks/Linux/system.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
when: transport != 'repositories'
1515

1616
- name: 'Perform {{ java_binary_type }} install'
17-
include_tasks: '{{ install_task }}'
17+
ansible.builtin.include_tasks:
18+
file: "{{ item }}"
1819
with_first_found:
19-
- '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
20+
- files:
21+
- '{{ java_distribution }}_{{ java_binary_type }}.yml'
22+
- '{{ java_binary_type }}.yml'
23+
- '{{ ansible_os_family }}.yml'
24+
paths:
25+
- tasks/Linux/install
2426
become: true

0 commit comments

Comments
 (0)