Fix source for CI vars file

The CI vars file is on the jenkins slave, not on the virthost where we
where trying to copy the data from. The code that was checked in has never
worked, what happened is that with a previous iteration of the commit we
created /tmp/install_vars.yml and since the jenkins machine never gets rebooted
it just stayed there. So in the future when we tried to fetch the file from the
wrong machine Ansible failed the fetch silently and we loaded the old file.

Change-Id: I8c20bdc8dc138a383e7a101cd465b48d44fa99a7
This commit is contained in:
jkilpatr 2017-02-14 15:09:37 -05:00
parent 66955273cd
commit d707d4bc6d

View File

@ -19,14 +19,8 @@
- name: Load Browbeat vars
include_vars: /tmp/all.yml
- name: Fetch CI vars file
fetch:
"src={{ lookup('env','HW_ENV_DIR') }}/all.yml \
dest=/tmp/install_vars.yml \
flat=yes"
- name: Load CI vars
include_vars: /tmp/install_vars.yml
include_vars: "{{ lookup('env','HW_ENV_DIR') }}/all.yml"
- name: Template Browbeat configuration
template: