notebooks.yml 505 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
---
- name: install Jupyter notebook for Python 3
  become: yes
julian.gethmann's avatar
julian.gethmann committed
4
5
6
  dnf:
    state: present
    name: "{{ item }}"
julian.gethmann's avatar
julian.gethmann committed
7
8
9
10
11
12
13
14
15
  with_items:
  - python3-jupyter-core
  - python3-ipykernel
  - python3-nbformat
  - python3-ipdb
  - python3-ipython
  tags: notebook
  when: ansible_distribution == 'Fedora'

julian.gethmann's avatar
julian.gethmann committed
16
- name: install Jupyter notebook extensions
julian.gethmann's avatar
julian.gethmann committed
17
  become: yes
julian.gethmann's avatar
julian.gethmann committed
18
19
20
  pip:
    name: "{{ item }}"
    executable: /usr/bin/pip3
julian.gethmann's avatar
julian.gethmann committed
21
    state: present
julian.gethmann's avatar
julian.gethmann committed
22
23
24
  with_items:
  - ipywidgets
  tags: notebook
25
26
  notify: activate ipywidgets