forked from ISTI-ansible-roles/ansible-roles
library/roles/R/tasks/r-installation.yml: Fix other cases of empty variables.
This commit is contained in:
parent
7e8f11498d
commit
70c4f447da
|
@ -39,7 +39,7 @@
|
|||
|
||||
- name: Install some packages needed by R packages when installed from source
|
||||
apt: pkg={{ item }} state={{ r_packages_state }} update_cache=yes force=yes
|
||||
with_items: '{{ r_distribution_required_packages }}'
|
||||
with_items: '{{ r_distribution_required_packages | default([]) }}'
|
||||
when: r_needs_additional_distro_pkgs
|
||||
tags: [ 'r_software', 'r_pkg' ]
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
|||
register: install_plugins_result
|
||||
failed_when: "install_plugins_result.rc != 0 or 'had non-zero exit status' in install_plugins_result.stderr"
|
||||
changed_when: "'Added' in install_plugins_result.stdout"
|
||||
with_items: '{{ r_plugins_list_to_install }}'
|
||||
with_items: '{{ r_plugins_list_to_install | default([]) }}'
|
||||
when: r_plugins_install_latest_source
|
||||
ignore_errors: True
|
||||
tags: [ 'r_software', 'r_pkg', 'r_plugins' ]
|
||||
|
|
Loading…
Reference in New Issue