From 8d541d0dcbbd8b4fd234499ed617f808fe0c067b Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 4 Oct 2016 17:36:48 +0200 Subject: [PATCH] library/roles/quickrank: Force the git pull by default --- quickrank/defaults/main.yml | 1 + quickrank/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/quickrank/defaults/main.yml b/quickrank/defaults/main.yml index 187fe0d3..e183bd78 100644 --- a/quickrank/defaults/main.yml +++ b/quickrank/defaults/main.yml @@ -2,6 +2,7 @@ quickrank_install: False quickrank_git_url: 'https://github.com/hpclab/quickrank' +quickrank_git_force_pull: True quickrank_package_list: - gcc-5 - g++-5 diff --git a/quickrank/tasks/main.yml b/quickrank/tasks/main.yml index 828aec0d..20217a44 100644 --- a/quickrank/tasks/main.yml +++ b/quickrank/tasks/main.yml @@ -15,7 +15,7 @@ - block: - name: Download the quickrank distribution - git: repo={{ quickrank_git_url }} dest=/home/{{ d4science_user }}/quickrank + git: repo={{ quickrank_git_url }} dest=/home/{{ d4science_user }}/quickrank force={{ quickrank_git_force_pull }} register: quickrank_src - name: Copy some needed files if the distribution is Ubuntu 12.04