Try to ead more OS variables/files
This commit is contained in:
parent
ed928c20c7
commit
89a27120e9
|
@ -27,7 +27,8 @@
|
|||
- name: Include OS dependent variables
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "os_{{ (ansible_os_family|lower).split(' ')[0] }}.yml"
|
||||
- "os_{{ (ansible_os_family|default('Not-Available')|lower).split(' ')[0] }}.yml"
|
||||
- "os_{{ (ansible_lsb.id|default('Not-Available')|lower).split(' ')[0] }}.yml"
|
||||
- "os_defaut.yml"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue