xci: playbooks: Add task for loading distribution variables 83/41783/19
authorMarkos Chandras <mchandras@suse.de>
Fri, 15 Sep 2017 15:28:42 +0000 (16:28 +0100)
committerMarkos Chandras <mchandras@suse.de>
Fri, 15 Sep 2017 20:39:35 +0000 (21:39 +0100)
commitcd680ff04b2fb6afe3155fe9be02049f4464508a
treed770f22a545e6d0fd1d1fe2b0ea90d9aacd3831c
parente2ea3110c72884b495721101bb7cdf49c8bf4e52
xci: playbooks: Add task for loading distribution variables

vars_files doesn't support loading files with variables in their names.
As such we add a new task to include these files before running any of
the roles. This fixes warnings like this:

Info: Starting provisining VM nodes using openstack/bifrost
-------------------------------------------------------------------------
No config file found; using defaults
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable

Change-Id: I0a49e2ed8d811bb40a99612462752f8691133e0f
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/playbooks/configure-localhost.yml
xci/playbooks/configure-opnfvhost.yml
xci/playbooks/configure-targethosts.yml
xci/playbooks/provision-vm-nodes.yml