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

Update example to use quotes for major.minor example and update documentation

This commit is contained in:
Mariam Ahhttouche 2026-03-05 21:55:32 +01:00
parent 05c100c661
commit 0f5a46c98b

View file

@ -30,7 +30,9 @@ options:
Not all canonical Python versions are supported in this release. Valid version numbers consist of two or three dot-separated numeric components,
with an optional 'pre-release' tag on the end such as V(3.12), V(3.12.3), V(3.15.0a5).
- Advanced uv selectors such as V(>=3.12,<3.13) or V(cpython@3.12) are not supported in this release.
- When you specify only a major.minor version, behavior depends on the O(state) parameter.
- |
When you specify only a major.minor version, make sure the number is enclosed in quotes so that it gets parsed correctly.
Note that in this case behavior depends on the O(state) parameter.
type: str
required: true
state:
@ -76,7 +78,7 @@ EXAMPLES = r"""
- name: Upgrade Python 3.14
community.general.uv_python:
version: 3.14
version: "3.14"
state: latest
- name: Remove Python 3.13.5