Use the ansible variable for the distribution name.
This commit is contained in:
parent
97c2b2d60e
commit
c2ab5c0384
|
@ -13,7 +13,7 @@
|
||||||
r_install_cran_repo: False
|
r_install_cran_repo: False
|
||||||
# This si the CRAN main repository, that contains the r-base-* packages
|
# This si the CRAN main repository, that contains the r-base-* packages
|
||||||
r_cran_ubuntu_repo_key: 'E298A3A825C0D65DFD57CBB651716619E084DAB9'
|
r_cran_ubuntu_repo_key: 'E298A3A825C0D65DFD57CBB651716619E084DAB9'
|
||||||
r_cran_ubuntu_repo: 'deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/'
|
r_cran_ubuntu_repo: 'deb https://cloud.r-project.org/bin/linux/ubuntu {{ ansible_distribution_release }}-cran40/'
|
||||||
# Use 'marutter/c2d4u3.5' for R 3.6
|
# Use 'marutter/c2d4u3.5' for R 3.6
|
||||||
r_cran_ubuntu_packages_ppa_trusty: 'ppa:marutter/c2d4u'
|
r_cran_ubuntu_packages_ppa_trusty: 'ppa:marutter/c2d4u'
|
||||||
# 4.1, Ubuntu 18.04+
|
# 4.1, Ubuntu 18.04+
|
||||||
|
|
Loading…
Reference in New Issue