From dcb0fff2556fd685c0177d963f872af2911a12a7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 2 Jun 2016 14:20:49 +0100 Subject: [PATCH] Consistency for multi-os in the includes This makes the include_vars consistent accross all the openstack-ansible-.* repos. Change-Id: I057c2c38d527ea2a18a6d9e7874744c60a463f07 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index b49bec28..d64064ca 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,9 +16,9 @@ - name: Gather variables for each operating system include_vars: "{{ item }}" with_first_found: - - "{{ ansible_distribution | lower }}-{{ ansible_distribution_release | lower }}.yml" - "{{ 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: