From 4a3538349d94c95b58bdcea6a764897c8aea50e6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 4 Dec 2015 13:07:31 +0100 Subject: [PATCH] d4science-ghn-cluster/group_vars/dataminer_dev: Two configuration files were missing. More cleanup. d4science-ghn-cluster/group_vars/statistical_dev: Install R and packages on the statistical dev node. --- R/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tasks/main.yml b/R/tasks/main.yml index 9399040d..d86a7258 100644 --- a/R/tasks/main.yml +++ b/R/tasks/main.yml @@ -59,7 +59,7 @@ command: > Rscript --slave --no-save --no-restore-history -e "if (! ('{{ item.plugin_name }}' %in% installed.packages()[,'Package'])) { require(devtools); require(methods) ; options(repos='{{ r_cran_mirror_site }}/') ; install_github('{{ item.plugin_name }}', '{{ item.github_user }}'); print('Added'); } else { print('Already Installed'); }" register: install_github_plugins_result - failed_when: "install_github_plugins_result.rc != 0 or 'had non-zero exit status' in install_s_plugins_result.stderr" + failed_when: "install_github_plugins_result.rc != 0 or 'had non-zero exit status' in install_github_plugins_result.stderr" changed_when: "'Added' in install_github_plugins_result.stdout" with_items: r_plugins_from_github when: r_plugins_from_github is defined