Skip to content

Appsilon/ansible-python-install

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Mar 10, 2025
Feb 6, 2024
Aug 29, 2022
Jun 19, 2023
Mar 10, 2025
Mar 10, 2025
Aug 29, 2022
Feb 5, 2024
Mar 10, 2025
Feb 5, 2024
Feb 5, 2024
Aug 29, 2022
Aug 29, 2022
Jan 31, 2024
Aug 29, 2022
Feb 15, 2023
Aug 29, 2022
Feb 6, 2024
Aug 29, 2022
Mar 10, 2025

Repository files navigation

Ansible Python Install

Install Python (with Jupyter) on Ubuntu and RedHat based systems with Posit's pre-compiled binaries (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

Dependencies

None.

Example Playbook

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

License

MIT

Author Information

Appsilon

About

Install Python on Ubuntu and RedHat based systems with Posit's pre-compiled binaries

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

Languages