Consistency for multi-os in the includes

This makes the include_vars consistent accross all the
openstack-ansible-.* repos.

Change-Id: Ia92db603d3f8bd9a1845ca343b3fda379068ffe3
This commit is contained in:
Jean-Philippe Evrard 2016-06-02 14:22:06 +01:00
parent 6a6820ae8d
commit 232bf64dec
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
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 }}.yml"
tags: