Skip to content

Commit 1e63481

Browse files
authored
Merge pull request #49 from jonwolski/fix/include_OS_family_distribution_specific_variables
Resolve file path with `{{ role_path }}`
2 parents 578a15b + 723afed commit 1e63481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
- name: include OS family/distribution specific variables
1313
include_vars: "{{ item }}"
1414
with_first_found:
15-
- "defaults/{{ ansible_os_family | lower }}-{{ ansible_distribution | lower }}.yml"
16-
- "defaults/{{ ansible_os_family | lower }}.yml"
15+
- "{{ role_path }}/defaults/{{ ansible_os_family | lower }}-{{ ansible_distribution | lower }}.yml"
16+
- "{{ role_path }}/defaults/{{ ansible_os_family | lower }}.yml"
1717
tags: installation
1818

1919
- include: debug.yml

0 commit comments

Comments
 (0)