1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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): class KubernetesFactsModule(KubernetesAnsibleModule):
def __init__(self, *args, **kwargs):
KubernetesAnsibleModule.__init__(self, *args,
supports_check_mode=True,
**kwargs)
def execute_module(self): def execute_module(self):
self.client = self.get_api_client() self.client = self.get_api_client()