Skip to content

Commit

Permalink
allow turbo mode, but disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
goneri committed Jul 27, 2021
1 parent fa819d3 commit 1c95de8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion plugins/module_utils/ansiblemodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
__metaclass__ = type


from ansible.module_utils.basic import AnsibleModule # noqa: F401
try:
from ansible_collections.cloud.common.plugins.module_utils.turbo.module import (
AnsibleTurboModule as AnsibleModule,
) # noqa: F401
AnsibleModule.collection_name = "kubernetes.core"
AnsibleModule.enable_session_cache_default = False
except ImportError:
from ansible.module_utils.basic import AnsibleModule # noqa: F401

0 comments on commit 1c95de8

Please sign in to comment.