Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oefenweb/ansible-shiny-server

Ansible role to set up (the latest version of) Shiny server in Debian-like systems
https://github.com/oefenweb/ansible-shiny-server

ansible debian r server shiny shiny-apps ubuntu

Last synced: 2 months ago
JSON representation

Ansible role to set up (the latest version of) Shiny server in Debian-like systems

Awesome Lists containing this project

README

        

## shiny-server

[![CI](https://github.com/Oefenweb/ansible-shiny-server/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-shiny-server/actions?query=workflow%3ACI)
![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-shiny--server-blue.svg)](https://galaxy.ansible.com/Oefenweb/shiny_server/)

Set up (the latest version of) [Shiny Server](https://www.rstudio.com/products/shiny/shiny-server/) in Debian-like systems.

#### Requirements

* `curl` (will be installed)
* `r-base` (will not be installed)
* `shiny` ([R package](https://cran.r-project.org/web/packages/shiny/index.html), will not be installed)

#### Variables

* `shiny_server_version`: [default: `1.5.16.958`]: Version to install
* `shiny_server_install`: [default: `[]`]: Additional packages to install (e.g. `r-base`)

* `shiny_server_conf_directives`: [default: see `defaults/main.yml`]: Configuration directives ([see](http://docs.rstudio.com/shiny-server/#default-configuration))

## Dependencies

None

## Recommended

* `ansible-r` ([see](https://github.com/Oefenweb/ansible-r))
* `ansible-rstudio` ([see](https://github.com/Oefenweb/ansible-rstudio))
* `ansible-rstudio-server` ([see](https://github.com/Oefenweb/ansible-rstudio-server))

#### Example

```yaml
---
- hosts: all
roles:
- oefenweb.shiny-server
vars:
shiny_server_conf_directives:
- |
run_as shiny;
server {
listen 3838;
location / {
site_dir /srv/shiny-server;
log_dir /var/log/shiny-server;
directory_index on;
}
}

```

#### License

MIT

#### Author Information

Mischa ter Smitten

#### Feedback, bug-reports, requests, ...

Are [welcome](https://github.com/Oefenweb/ansible-shiny-server/issues)!