classroom/roles/linroom/tasks/GNS3.yml

16 lines
519 B
YAML
Raw Normal View History

2022-09-22 19:02:12 +00:00
# TODO popravi url
- name: Add GNS3 repository
block:
- name: GNS repo - apt key
ansible.builtin.get_url:
url: https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc
dest: /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
- name: GNS repo - url
ansible.builtin.apt_repository:
repo: "deb https://cloud.r-project.org/bin/linux/ubuntu {{ansible_distribution_release}}-cran40/"
state: present
- name: Install R
ansible.builtin.apt:
name: r-base
state: latest