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:
parent
05c100c661
commit
0f5a46c98b
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue