--- title: python3 type: docs --- [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.python3) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.python3?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.python3) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.python3/src/branch/master/LICENSE) Setup python3 and pip3. * [Default Variables](#default-variables) * [python3_link_bin](#python3_link_bin) * [python3_link_bin_path](#python3_link_bin_path) * [python3_packages](#python3_packages) * [python3_packages_extra](#python3_packages_extra) * [python3_packages_remove](#python3_packages_remove) * [Dependencies](#dependencies) --- ## Default Variables ### python3_link_bin #### Default value ```YAML python3_link_bin: [] ``` ### python3_link_bin_path #### Default value ```YAML python3_link_bin_path: /usr/bin ``` ### python3_packages The default packages depend on the OS version. For RHEL7 based systems, Python3.8 from SCL `centos-sclo-rh`. Therefore, the SCL need to be installed and enabled already! For RHEL8 based system Python3.9 will be installed from the Appstream repo. ### python3_packages_extra #### Default value ```YAML python3_packages_extra: [] ``` ### python3_packages_remove Optional list of old Pathon packages that should be removed. #### Default value ```YAML python3_packages_remove: [] ``` ## Dependencies None.