1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 13:19:13 +00:00

uv_python module: update module documentation

This commit is contained in:
Mariam Ahhttouche 2026-02-21 17:54:28 +01:00
parent a50fb91c4a
commit 4fe6c83d0f

View file

@ -6,31 +6,28 @@
DOCUMENTATION = r'''
---
module: uv_python
short_description: Manage Python installations using uv
short_description: Manage Python installations using uv.
description:
- Install or remove Python versions managed by uv.
# requirements:
# - uv must be installed and available on PATH
- Install, remove or upgrade Python versions managed by uv.
version_added: "X.Y"
requirements:
- uv must be installed and available on PATH
- uv >= 0.8.0
options:
version:
description: Python version to manage
description:
- Python version to manage.
- Expected formats are "X.Y" or "X.Y.Z".
type: str
required: true
state:
description: Desired state
description: Desired state of the specified Python version.
type: str
choices: [present, absent]
choices: [present, absent, latest]
default: present
force:
description: Force reinstall
type: bool
default: false
uv_path:
description: Path to uv binary
type: str
default: uv
author:
- Your Name
- Mariam Ahhttouche (@mriamah)
deprecated:
'''
EXAMPLES = r'''