Issue #49: Remaining fixes from diff on auto-migrated collection.

This commit is contained in:
Jeff Geerling
2020-03-20 15:42:13 -05:00
parent 78902af34a
commit 7aa071c98f
13 changed files with 18 additions and 40 deletions

View File

@@ -140,7 +140,7 @@ class K8sInventoryException(Exception):
class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable, K8sAnsibleMixin):
NAME = 'k8s'
NAME = 'community.kubernetes.k8s'
transport = 'kubectl'

View File

@@ -112,7 +112,7 @@ connections:
context: 'awx/192-168-64-4:8443/developer'
'''
from ansible.plugins.inventory.k8s import K8sInventoryException, InventoryModule as K8sInventoryModule, format_dynamic_api_exc
from ansible_collections.community.kubernetes.plugins.inventory.k8s import K8sInventoryException, InventoryModule as K8sInventoryModule, format_dynamic_api_exc
try:
from openshift.dynamic.exceptions import DynamicApiError
@@ -121,7 +121,7 @@ except ImportError:
class InventoryModule(K8sInventoryModule):
NAME = 'openshift'
NAME = 'community.kubernetes.openshift'
transport = 'oc'