|
@@ -8,10 +8,10 @@
|
|
|
- name: Gather OS Specific Variables
|
|
|
include_vars: "{{ item }}"
|
|
|
with_first_found:
|
|
|
- - "{{ ansible_distribution|lower }}-{{ ansible_distribution_version }}.yml"
|
|
|
- - "{{ ansible_distribution|lower }}-{{ ansible_distribution_major_version }}.yml"
|
|
|
- - "{{ ansible_distribution|lower }}.yml"
|
|
|
- - "{{ ansible_os_family|lower }}.yml"
|
|
|
+ - "{{ (ansible_distribution|lower).split(' ')[0] }}-{{ (ansible_distribution_version|lower).split(' ')[0] }}.yml"
|
|
|
+ - "{{ (ansible_distribution|lower).split(' ')[0] }}-{{ (ansible_distribution_major_version|lower).split(' ')[0] }}.yml"
|
|
|
+ - "{{ (ansible_distribution|lower).split(' ')[0] }}.yml"
|
|
|
+ - "{{ (ansible_os_family|lower).split(' ')[0] }}.yml"
|
|
|
- "defaults.yml"
|
|
|
|
|
|
- include: user.yml
|