Consistency for multi-os in the includes
This makes the include_vars consistent accross all the openstack-ansible-.* repos. Change-Id: Iadfefc945ad91c036106caf6083bb53dd8aad5f2
This commit is contained in:
parent
421a504df4
commit
d76fb52cb2
|
@ -17,8 +17,9 @@
|
|||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
|
||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
||||
- "{{ ansible_distribution | lower }}.yml"
|
||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||||
- "{{ ansible_os_family | lower }}.yml"
|
||||
tags:
|
||||
- always
|
||||
|
|
Loading…
Reference in New Issue