2020-01-22 23:29:48 +01:00
---
title: python3
type: docs
---
2020-06-04 15:20:57 +02:00
[![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)
2020-01-31 11:50:28 +01:00
Setup python3 and pip3.
2020-01-22 23:29:48 +01:00
* [Default Variables ](#default-variables )
2021-10-04 21:21:34 +02:00
* [python3_link_bin ](#python3_link_bin )
* [python3_link_bin_path ](#python3_link_bin_path )
2020-05-25 23:08:32 +02:00
* [python3_packages ](#python3_packages )
* [python3_packages_extra ](#python3_packages_extra )
2021-10-04 21:21:34 +02:00
* [python3_packages_remove ](#python3_packages_remove )
2020-01-22 23:29:48 +01:00
* [Dependencies ](#dependencies )
---
## Default Variables
2021-10-04 21:21:34 +02:00
### python3_link_bin
2020-01-22 23:29:48 +01:00
#### Default value
```YAML
2021-10-04 21:21:34 +02:00
python3_link_bin: []
2020-01-22 23:29:48 +01:00
```
2021-10-04 21:21:34 +02:00
### 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.
2020-01-22 23:29:48 +01:00
### python3_packages_extra
#### Default value
```YAML
python3_packages_extra: []
```
2021-10-04 21:21:34 +02:00
### python3_packages_remove
Optional list of old Pathon packages that should be removed.
#### Default value
```YAML
python3_packages_remove: []
```
2020-01-22 23:29:48 +01:00
## Dependencies
None.