Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
meta_main=meta/main.yml
# All Fedora are supported, add latest Fedora versions to supported_platforms
if yq '.galaxy_info.galaxy_tags[]' "$meta_main" | grep -qi fedora$; then
supported_platforms+=" Fedora-41"
supported_platforms+=" Fedora-42"
supported_platforms+=" Fedora-43"
fi
# Specific Fedora versions supported
if yq '.galaxy_info.galaxy_tags[]' "$meta_main" | grep -qiP 'fedora\d+$'; then
Expand All @@ -98,10 +98,10 @@ jobs:
fail-fast: false
matrix:
include:
- platform: Fedora-41
ansible_version: 2.17
- platform: Fedora-42
ansible_version: 2.19
- platform: Fedora-43
ansible_version: 2.20
Comment on lines +103 to +104
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Quote the ansible_version: 2.20 value to avoid YAML treating it as a numeric and normalizing it to 2.2.

Because YAML treats 2.20 as a number, it may be read back as 2.2, which can lead to installing the wrong Ansible version if this value is used in package specs (e.g., ansible==${{ matrix.ansible_version }}). Quoting it as a string ("2.20") avoids this and preserves the intended version.

- platform: CentOS-7-latest
ansible_version: 2.9
- platform: CentOS-Stream-8
Expand Down
Loading