Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.81 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.81 KB

Ansible Python Install

Install Python (with Jupyter) on Ubuntu and RedHat based systems via uv (docs)

CI Ansible Galaxy

Requirements

If you want to install Workbench's plugins, then the Python used for Jupyter installation needs to be >= 3.7

Role Variables

Variable Default Choices Comments
python_versions [3.10.6, 3.9.13] Array with Python versions >= 3.7 Version have to be specified as 3.x.y
python_jupyter_kernel true Boolean: true, false Makes Python available as a Jupyter Kernel
python_jupyter_install true Boolean: true, false Whether to install Jupyter
python_jupyter_install_method virtualenv String: virtualenv, system Method of Jupyter installation
python_jupyter_python_version "{{ python_versions[0] }}" One of the versions passed in python_versions Used only for virtualenv method
python_jupyter_workbench true Boolean: true, false Whether to install Workbench's plugins for Jupyter
uv_version "0.13.4" String Version of uv to install from GitHub releases

Dependencies

None.

Example Playbook

- hosts: all
  vars:
    python_versions:
      - 3.10.6
      - 3.7.8
  roles:
     - appsilon.python_install

License

MIT

Author Information

Appsilon