From d707d4bc6dc721af4faea1ed2a6b9eb929a8a962 Mon Sep 17 00:00:00 2001 From: jkilpatr Date: Tue, 14 Feb 2017 15:09:37 -0500 Subject: [PATCH] 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 --- ansible/oooq/roles/pre-install-setup/tasks/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ansible/oooq/roles/pre-install-setup/tasks/main.yml b/ansible/oooq/roles/pre-install-setup/tasks/main.yml index 3fef69e5d..8a3146dfc 100644 --- a/ansible/oooq/roles/pre-install-setup/tasks/main.yml +++ b/ansible/oooq/roles/pre-install-setup/tasks/main.yml @@ -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: