Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jelletreep committed Jul 17, 2024
1 parent 1a7deef commit 3a8e27e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions playbooks/roles/rstudio/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
- name: Install RStudio for Debian
when: ansible_os_family == 'Debian'
- name: Install RStudio for Ubuntu 20
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
apt:
deb: https://download1.rstudio.org/electron/focal/amd64/rstudio-2024.04.2-764-amd64.deb
state: present

- name: Install RStudio for Ubuntu 22
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
apt:
deb: https://download1.rstudio.org/electron/jammy/amd64/rstudio-2024.04.2-764-amd64.deb
state: present
...

0 comments on commit 3a8e27e

Please sign in to comment.