k8s: fix handling exceptions for certain modules (#51386)

This commit is contained in:
Mariusz Mazur 2019-01-29 00:11:22 +01:00 committed by Will Thames
parent c6b3f2c848
commit 3f4ca18e7b

View file

@ -75,6 +75,7 @@ class KubernetesRawModule(KubernetesAnsibleModule):
def __init__(self, k8s_kind=None, *args, **kwargs):
self.client = None
self.warnings = []
mutually_exclusive = [
('resource_definition', 'src'),