notebooks.yml 497 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2
---
- name: install Jupyter notebook for Python 3
julian.gethmann's avatar
julian.gethmann committed
3
  dnf: state=installed name={{ item }}
julian.gethmann's avatar
julian.gethmann committed
4 5 6 7 8 9 10 11 12 13
  become: yes
  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
14 15 16 17 18 19 20 21 22
- name: install Jupyter notebook extensions
  pip:
    name: "{{ item }}"
    executable: /usr/bin/pip3
    state: installed
  become: yes
  with_items:
  - ipywidgets
  tags: notebook
23 24
  notify: activate ipywidgets