Skip to content

Commit

Permalink
Merge pull request #52 from ellisonbg/package-vars
Browse files Browse the repository at this point in the history
Moving package lists to main host vars.
  • Loading branch information
ellisonbg committed Jan 4, 2017
2 parents 2cdf615 + 013878b commit d4d188e
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 30 deletions.
101 changes: 101 additions & 0 deletions host_vars/hostname.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,107 @@ formgrader_hubapi_token: ''
# Note: Ansible requires Python 2.7 for provisioning so the path must be set
ansible_python_interpreter: '/usr/bin/python2.7'

# ---------------------------------------------------
# Packages
# ---------------------------------------------------

# Add or remove packages here for different package
# managers here (conda, pip, cran). The package listed
# here are on-top of the base installation of jupyter,
# ipython and the IPython and IR kernel.

conda_packages:
- numpy
- scipy
- matplotlib
- cython
- h5py
- scikit-learn
- scikit-image
- pandas
- sympy
- pillow
- seaborn
- patsy
- statsmodels
- networkx
- dask
- blaze
- odo
- altair
- tensorflow
- keras

pip_packages:
- brewer2mpl
- ggplot
- ipythonblocks
- plotly

cran_packages:
- car
- ggplot2
- XML
- plyr
- randomForest
- Hmisc
- stringr
- RColorBrewer
- reshape
- reshape2
- RCurl
- devtools
- dplyr
- httr
- knitr
- packrat
- rmarkdown
- rvtest
- testit
- testthat
- tidyr
- shiny
- base64enc
- Cairo
- codetools
- table
- gridExtra
- gtable
- hexbin
- jpeg
- Lahman
- MASS
- PKI
- png
- microbenchmark
- mgcv
- mapproj
- maps
- maptools
- mgcv
- multcomp
- nycflights13
- quantreg
- javareconf
- rJava
- roxygen2
- RSQLite
- lattice
- nlme
- RCurl
- RHTMLForms
- RJSONIO
- RSelenium
- rgl
- caret
- data.table
- parallel
- testthat
- rpart
- caret
- RTextTools
- XLSX

# ---------------------------------------------------
# Optional settings
# ---------------------------------------------------
Expand Down
24 changes: 0 additions & 24 deletions roles/python/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,3 @@ conda_config:
- defaults
show_channel_urls: yes

conda_packages:
- numpy
- scipy
- matplotlib
- cython
- h5py
- scikit-learn
- scikit-image
- pandas
- sympy
- pillow
- seaborn
- patsy
- statsmodels
- networkx
- dask
- blaze
- odo
pip_packages:
- brewer2mpl
- ggplot
- ipythonblocks
- plotly

12 changes: 6 additions & 6 deletions roles/r/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
with_items:
- repr
- IRdisplay
- pbdZMQ
- evaluate
- crayon
- pbdZMQ
- devtools
- uuid
- digest
- stringi

- name: install IRkernel
command: R --quiet -e "if (! '{{item}}' %in% installed.packages()[,'Package']) devtools::install_github('IRkernel/{{item}}')"
Expand All @@ -33,8 +37,4 @@

- name: install additional R packages
command: R --quiet -e "if (! '{{item}}' %in% installed.packages()[,'Package']) install.packages('{{item}}', repos='http://cran.rstudio.com/')"
with_items:
- ggplot2
- dplyr
- reshape2
- car
with_items: '{{cran_packages}}'

0 comments on commit d4d188e

Please sign in to comment.