Use the ansible variable for the distribution name.

This commit is contained in:
Andrea Dell'Amico 2021-07-02 16:35:20 +02:00
parent 97c2b2d60e
commit c2ab5c0384
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

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