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 5e70f6e commit 0cc5e59Copy full SHA for 0cc5e59
tasks/variables.yml
@@ -1,7 +1,11 @@
1
---
2
# Variable configuration.
3
- name: Include OS-specific variables.
4
- include_vars: "{{ ansible_os_family }}.yml"
+ include_vars: "{{ item }}"
5
+ with_first_found:
6
+ - files:
7
+ - "vars/{{ ansible_os_family }}.yml"
8
+ skip: true
9
when: ansible_os_family != "RedHat"
10
11
- name: Include OS-specific variables (RedHat).
0 commit comments