Merge pull request #32 from guidograzioli/minimum_ansible_ver

Set minimum ansible-core>=14
This commit is contained in:
kubevirt-bot
2023-11-29 10:27:13 +01:00
committed by GitHub
7 changed files with 56 additions and 143 deletions

View File

@@ -27,6 +27,7 @@ warn_list:
- run-once[task] - run-once[task]
- var-naming[no-role-prefix] - var-naming[no-role-prefix]
- galaxy[version-incorrect] - galaxy[version-incorrect]
- yaml[key-duplicates]
skip_list: skip_list:
- jinja[spacing] - jinja[spacing]

View File

@@ -46,71 +46,25 @@ jobs:
matrix_exclude: >- matrix_exclude: >-
[ [
{ {
"ansible-version": "stable-2.9" "ansible-version": "stable-2.12"
},
{
"ansible-version": "stable-2.13"
}, },
{ {
"ansible-version": "stable-2.12",
"python-version": "3.7" "python-version": "3.7"
}, },
{ {
"ansible-version": "stable-2.12",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.8" "python-version": "3.8"
}, },
{ {
"ansible-version": "stable-2.14",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.11"
},
{
"ansible-version": "milestone",
"python-version": "3.7"
},
{
"ansible-version": "milestone",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.9" "python-version": "3.9"
}, },
{ {
"ansible-version": "devel", "python-version": "3.10"
"python-version": "3.7"
}, },
{ {
"ansible-version": "devel", "python-version": "3.12"
"python-version": "3.8"
},
{
"ansible-version": "devel",
"python-version": "3.9"
} }
] ]
unit-source: unit-source:
@@ -121,63 +75,25 @@ jobs:
matrix_exclude: >- matrix_exclude: >-
[ [
{ {
"python-version": "3.11" "ansible-version": "stable-2.12"
},
{
"ansible-version": "stable-2.13"
}, },
{ {
"ansible-version": "stable-2.12",
"python-version": "3.7" "python-version": "3.7"
}, },
{ {
"ansible-version": "stable-2.13",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.12",
"python-version": "3.8" "python-version": "3.8"
}, },
{ {
"ansible-version": "stable-2.13",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.7"
},
{
"ansible-version": "milestone",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.9" "python-version": "3.9"
}, },
{ {
"ansible-version": "devel", "python-version": "3.10"
"python-version": "3.7"
}, },
{ {
"ansible-version": "devel", "python-version": "3.12"
"python-version": "3.8"
},
{
"ansible-version": "devel",
"python-version": "3.9"
} }
] ]
collection_pre_install: '' collection_pre_install: ''

View File

@@ -111,15 +111,11 @@ jobs:
matrix: matrix:
test-target: ${{ fromJSON(inputs.ansible_test_targets) }} test-target: ${{ fromJSON(inputs.ansible_test_targets) }}
ansible-version: ansible-version:
- stable-2.9
- stable-2.12
- stable-2.14 - stable-2.14
- stable-2.15 - stable-2.15
- milestone - milestone
- devel - devel
python-version: python-version:
- "3.8"
- "3.9"
- "3.11" - "3.11"
exclude: ${{ fromJSON(inputs.matrix_exclude) }} exclude: ${{ fromJSON(inputs.matrix_exclude) }}
include: ${{ fromJSON(inputs.matrix_include) }} include: ${{ fromJSON(inputs.matrix_include) }}

View File

@@ -8,7 +8,7 @@ This repository hosts the `kubevirt.core` Ansible Collection, which provides vir
<!--start requires_ansible--> <!--start requires_ansible-->
## Ansible version compatibility ## Ansible version compatibility
This collection has been tested against following Ansible versions: **>=2.9.10**. This collection has been tested against following Ansible versions: **>=2.14.0**.
<!--end requires_ansible--> <!--end requires_ansible-->
## Included content ## Included content

View File

@@ -1,2 +1,2 @@
--- ---
requires_ansible: '>=2.11.0' # Use '>= 2.9.10' instead, if needed requires_ansible: '>=2.14.0'