diff --git a/.ansible-lint b/.ansible-lint index 473975d..56a712b 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -27,6 +27,7 @@ warn_list: - run-once[task] - var-naming[no-role-prefix] - galaxy[version-incorrect] + - yaml[key-duplicates] skip_list: - jinja[spacing] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74c95ad..0f5919b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,68 +49,27 @@ jobs: "ansible-version": "stable-2.9" }, { - "ansible-version": "stable-2.12", + "ansible-version": "stable-2.12" + }, + { + "ansible-version": "stable-2.13" + }, + { "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" }, { - "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" }, { - "ansible-version": "devel", - "python-version": "3.7" + "ansible-version": "stable-2.14", + "python-version": "3.12" }, { - "ansible-version": "devel", - "python-version": "3.8" - }, - { - "ansible-version": "devel", - "python-version": "3.9" + "ansible-version": "stable-2.15", + "python-version": "3.12" } ] unit-source: @@ -121,63 +80,30 @@ jobs: matrix_exclude: >- [ { - "python-version": "3.11" + "python-version": "3.10" + }, + { + "ansible-version": "stable-2.12" + }, + { + "ansible-version": "stable-2.13" }, { - "ansible-version": "stable-2.12", "python-version": "3.7" }, { - "ansible-version": "stable-2.13", - "python-version": "3.7" - }, - { - "ansible-version": "stable-2.12", "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" }, { - "ansible-version": "devel", - "python-version": "3.7" + "ansible-version": "stable-2.14", + "python-version": "3.12" }, { - "ansible-version": "devel", - "python-version": "3.8" - }, - { - "ansible-version": "devel", - "python-version": "3.9" + "ansible-version": "stable-2.15", + "python-version": "3.12" } ] collection_pre_install: '' diff --git a/plugins/inventory/kubevirt.py b/plugins/inventory/kubevirt.py index 5ae842a..6b4f4ea 100644 --- a/plugins/inventory/kubevirt.py +++ b/plugins/inventory/kubevirt.py @@ -131,7 +131,6 @@ requirements: EXAMPLES = """ # Filename must end with kubevirt.[yml|yaml] ---- # Authenticate with token, and return all VirtualMachineInstances for all accessible namespaces plugin: kubevirt.core.kubevirt connections: @@ -139,7 +138,6 @@ connections: api_key: xxxxxxxxxxxxxxxx validate_certs: false ---- # Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances # from namespace testing with interfaces connected to network bridge-network plugin: kubevirt.core.kubevirt @@ -148,7 +146,6 @@ connections: - testing network_name: bridge-network ---- # Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances # from namespace testing with label app=test plugin: kubevirt.core.kubevirt @@ -157,7 +154,6 @@ connections: - testing label_selector: app=test ---- # Use a custom config file, and a specific context. plugin: kubevirt.core.kubevirt connections: