Browse Source

Install Julia and IJulia

remove-logs
Andreas Linz 3 years ago
parent
commit
fc955e89a0
2 changed files with 11 additions and 1 deletions
  1. +8
    -0
      roles/jupyter/tasks/ijulia.yml
  2. +3
    -1
      roles/jupyter/tasks/main.yml

+ 8
- 0
roles/jupyter/tasks/ijulia.yml View File

@ -0,0 +1,8 @@
- name: Install Julia
apt:
package: julia
become: true
- name: Install IJulia
command: julia --print 'try Pkg.installed("IJulia") catch Pkg.add("IJulia") end'
become: true
become_user: "{{ jupyter_user }}"

+ 3
- 1
roles/jupyter/tasks/main.yml View File

@ -49,4 +49,6 @@
daemon_reload: yes
name: jupyter
state: started
enabled: true
enabled: true
- import_tasks: ijulia.yml

Loading…
Cancel
Save