k8s_facts trivially supports check_mode (#42335)

This commit is contained in:
Will Thames 2018-07-05 21:53:23 +10:00 committed by ansibot
parent 8b711d9874
commit 62e7a65459

View file

@ -136,6 +136,11 @@ import copy
class KubernetesFactsModule(KubernetesAnsibleModule):
def __init__(self, *args, **kwargs):
KubernetesAnsibleModule.__init__(self, *args,
supports_check_mode=True,
**kwargs)
def execute_module(self):
self.client = self.get_api_client()