mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-27 13:53:03 +00:00
- enable the AnsibleTurboModule: Use AnsibleTurboModule when the `cloud.common` collection is available. - Add dependency install step to molecule: Molecule won't install dependencies from galaxy.yml. We need to explicitly list them in a requirements.yml file and then enable the dependency step for molecule test.
13 lines
391 B
Python
13 lines
391 B
Python
from __future__ import (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
|
try:
|
|
from ansible_collections.cloud.common.plugins.module_utils.turbo.module import (
|
|
AnsibleTurboModule as AnsibleModule,
|
|
) # noqa: F401
|
|
AnsibleModule.collection_name = "kubernetes.core"
|
|
except ImportError:
|
|
from ansible.module_utils.basic import AnsibleModule # noqa: F401
|