From 7407b30dc583ff7710622d9af7f3fa8ec4b35942 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 23 Jun 2021 17:25:11 -0400 Subject: [PATCH 1/4] Remove turbo mode functionality --- plugins/module_utils/ansiblemodule.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/module_utils/ansiblemodule.py b/plugins/module_utils/ansiblemodule.py index 97fc7604d3..653c352acb 100644 --- a/plugins/module_utils/ansiblemodule.py +++ b/plugins/module_utils/ansiblemodule.py @@ -3,10 +3,4 @@ __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 +from ansible.module_utils.basic import AnsibleModule From fd6f96c6ea0158d8d36d2c0f18c5e0033e8d714f Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 23 Jun 2021 17:31:26 -0400 Subject: [PATCH 2/4] Add changelog fragment --- changelogs/fragments/149-disable-turbo-mode.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelogs/fragments/149-disable-turbo-mode.yaml diff --git a/changelogs/fragments/149-disable-turbo-mode.yaml b/changelogs/fragments/149-disable-turbo-mode.yaml new file mode 100644 index 0000000000..227020a51c --- /dev/null +++ b/changelogs/fragments/149-disable-turbo-mode.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - temporarily disable turbo mode (https://github.com/ansible-collections/kubernetes.core/pull/149). From 51b9173c868c14451537b63e61e0dcd864c1ce3e Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 23 Jun 2021 17:37:34 -0400 Subject: [PATCH 3/4] Fix linting issue --- plugins/module_utils/ansiblemodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/ansiblemodule.py b/plugins/module_utils/ansiblemodule.py index 653c352acb..a647b163f8 100644 --- a/plugins/module_utils/ansiblemodule.py +++ b/plugins/module_utils/ansiblemodule.py @@ -3,4 +3,4 @@ __metaclass__ = type -from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.basic import AnsibleModule # noqa: F401 From ae68a8bbf172775ee99302dec4c4acf2d77aee51 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 23 Jun 2021 18:42:38 -0400 Subject: [PATCH 4/4] Update docs --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 1469c1fa33..7beff2cdef 100644 --- a/README.md +++ b/README.md @@ -159,11 +159,6 @@ If upgrading older playbooks which were built prior to Ansible 2.10 and this col For documentation on how to use individual modules and other content included in this collection, please see the links in the 'Included content' section earlier in this README. -## Ansible Turbo mode Tech Preview - -The ``kubernetes.core`` collection supports Ansible Turbo mode as a tech preview via the ``cloud.common`` collection. Please read more about Ansible Turbo mode - [here](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/ansible_turbo_mode.rst). - - ## Testing and Development If you want to develop new content for this collection or improve what's already here, the easiest way to work on the collection is to clone it into one of the configured [`COLLECTIONS_PATHS`](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#collections-paths), and work on it there.