We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3c6be6e + 79f6a83 commit f4316fcCopy full SHA for f4316fc
tasks/main.yml
@@ -1,8 +1,10 @@
1
---
2
- name: Gather OS specific variables
3
include_vars: "{{ loop_vars }}"
4
- with_first_found:
5
- - files:
+ loop: "{{ query('first_found', params) }}"
+ vars:
6
+ params:
7
+ files:
8
- "{{ ansible_distro }}-{{ ansible_distro_version }}.yml"
9
- "{{ ansible_distro }}-{{ ansible_distro_release }}.yml"
10
- "{{ ansible_distro }}-{{ ansible_distro_major_version }}.yml"
0 commit comments