Skip to content
Snippets Groups Projects
Commit 5ca38b62 authored by Kamil Andoniadis's avatar Kamil Andoniadis
Browse files

add outer loop control

parent d51a2b8b
No related branches found
No related tags found
No related merge requests found
......@@ -23,11 +23,13 @@
## Include task for given OS family/distribution
- name: include OS family/distribution specific task
include: "{{ item }}"
include: "{{ include_file }}"
with_first_found:
- "installation/{{ ansible_os_family | lower }}/{{ ansible_distribution | lower }}_{{ ansible_distribution_version | lower }}.yml"
- "installation/{{ ansible_os_family | lower }}/{{ ansible_distribution | lower }}.yml"
- "installation/{{ ansible_os_family | lower }}/main.yml"
loop_control:
loop_var: include_file
when: not java_source
tags: [ installation ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment