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.
This commit is contained in:
Andrea Dell'Amico 2015-12-04 13:07:31 +01:00
parent 39a12b2936
commit 4a3538349d
1 changed files with 1 additions and 1 deletions

View File

@ -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