mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-21 19:33:04 +00:00
fix: follow PEP 440 standard for supported ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
parent
d92cdcd0ba
commit
1f4900f9b6
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ansible-ci.yml
vendored
2
.github/workflows/ansible-ci.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
id: supported-ansible-versions
|
||||
uses: mikefarah/yq@master
|
||||
with:
|
||||
cmd: yq -o json -I=0 '.requires_ansible | split(",") | .[] |= sub("(.*)", "stable-${1}")' meta/runtime.yml
|
||||
cmd: yq -o json -I=0 '.requires_ansible | split(",") | .[] |= sub("(.*?)(\d+\.\d+)"; "stable-${2}")' meta/runtime.yml
|
||||
|
||||
ansible-test-sanity:
|
||||
uses: ./.github/workflows/ansible-test-sanity.yml
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
---
|
||||
requires_ansible: "2.9,2.10,2.11,2.12,2.13,2.14"
|
||||
requires_ansible: "~=2.9,~=2.10,~=2.11,~=2.12,~=2.13,~=2.14"
|
||||
|
|
Loading…
Reference in a new issue