Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move/add Rstudio to r-workbench #182

Closed
jelletreep opened this issue Jul 17, 2024 · 0 comments · Fixed by #189
Closed

Move/add Rstudio to r-workbench #182

jelletreep opened this issue Jul 17, 2024 · 0 comments · Fixed by #189

Comments

@jelletreep
Copy link
Member

jelletreep commented Jul 17, 2024

Dawa: I think it's a great idea to add RStudio to the r-workbench playbook, on desktop workspaces. I think this could be very simply done by adding something like the following to the roles: section of the r-workbench playbook:

roles:
  - fact_workspace_info
  - rstudio
    when: fact_desktop_workspace

...although there may be the complication that roles are executed before tasks, so we should make sure rstudio is included after r is installed. In that case, you might have to do:

roles:
  - fact_workspace_info
  ...
 tasks:
     # R is installed here
    - name: Include ansible-r role
      when: fact_desktop_workspace
      include_role:
        role: rstudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant