Consistency for multi-os in the includes

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

Change-Id: I73315969f5dec9dfa8461611dd16429c47300fb4
This commit is contained in:
Jean-Philippe Evrard 2016-06-02 14:19:39 +01:00
parent c3a216ca81
commit e9cf8b4d11
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,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: