k8s: handle `fail_json` API from inventory plugin (#59)

Fixes: https://github.com/ansible-collections/kubernetes.core/issues/57
This commit is contained in:
Abhijeet Kasurde
2021-04-19 11:30:13 +05:30
committed by GitHub
parent acbe46f2ce
commit 4846b38819
4 changed files with 21 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
# Copyright: (c) 2021, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
class K8sInventoryException(Exception):
pass