Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from ahayden/SC-106
Browse files Browse the repository at this point in the history
Move from SSL to internal service only
  • Loading branch information
thomasyu888 authored Apr 15, 2020
2 parents 99d0b5e + f4dc09b commit 0049795
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions src/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,12 @@
- name: Install RStudio Server
command: dpkg -i /tmp/rstudio.deb

# - name: Generate a priv key
# openssl_privatekey:
# path: /etc/rstudio/packer-rstudio.pem

# - name: Generate CSR
# openssl_csr:
# path: /etc/rstudio/packer-rstudio.csr
# privatekey_path: /etc/rstudio/packer-rstudio.pem
# common_name: packer-rstudio.scipoolprod.org #This DNS name does not exist

# - name: Generate a self-signed cert
# openssl_certificate:
# path: /etc/rstudio/packer-rstudio.cert
# privatekey_path: /etc/rstudio/packer-rstudio.pem
# csr_path: /etc/rstudio/packer-rstudio.csr
# provider: selfsigned

# - name: Overwrite rstudio web config
# copy:
# dest: /etc/rstudio/rserver.conf
# content: |
# ssl-enabled=1
# ssl-certificate=/etc/rstudio/packer-rstudio.cert
# ssl-certificate-key=/etc/rstudio/packer-rstudio.pem
- name: Overwrite rstudio web config
copy:
dest: /etc/rstudio/rserver.conf
content: |
www-address=127.0.0.1 #Only serve on internal interface
www-port=8787
# Install essential R packages
- name: Install synapser
Expand Down

0 comments on commit 0049795

Please sign in to comment.