Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GHA sanity tests #432

Merged
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
- stable-2.13
- stable-2.14
- stable-2.15
# - stable-2.16
# - devel
# - milestone
# Ansible-test on various stable branches does not yet work well with cgroups v2.
Expand Down Expand Up @@ -105,10 +106,12 @@ jobs:
# test-deps: >-
# ansible.netcommon
# ansible.utils
test-deps: >-
cloud.common
# OPTIONAL If set to true, will test only against changed files,
# which should improve CI performance. See limitations on
# https://github.com/ansible-community/ansible-test-gh-action#pull-request-change-detection
pull-request-change-detection: true
pull-request-change-detection: false

check: # This job does nothing and is only used for the branch protection
# or multi-stage CI jobs, like making sure that all tests pass before
Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/fix_gha_sanity_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- "Fix GHA sanity tests."
5 changes: 0 additions & 5 deletions plugins/modules/appliance_access_consolecli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@
"set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -118,12 +116,9 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_access_consolecli_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -106,14 +104,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
5 changes: 0 additions & 5 deletions plugins/modules/appliance_access_dcui.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@
"set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -118,12 +116,9 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_access_dcui_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -106,14 +104,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
5 changes: 0 additions & 5 deletions plugins/modules/appliance_access_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@
}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -139,12 +137,9 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_access_shell_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -111,14 +109,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
5 changes: 0 additions & 5 deletions plugins/modules/appliance_access_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@
"set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -119,12 +117,9 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_access_ssh_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_applmgmt_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_database_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -101,14 +99,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_databasestorage_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_load_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_mem_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_softwarepackages_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -112,14 +110,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
8 changes: 0 additions & 8 deletions plugins/modules/appliance_health_storage_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"get": {"query": {}, "body": {}, "path": {}}
} # pylint: disable=line-too-long

import json
import socket
from ansible.module_utils.basic import env_fallback

try:
Expand All @@ -107,14 +105,8 @@
except ImportError:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import (
build_full_device_list,
exists,
gen_args,
get_device_info,
get_subdevice_type,
list_devices,
open_session,
prepare_payload,
update_changed_flag,
session_timeout,
)
Expand Down
Loading