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:
parent
8b711d9874
commit
62e7a65459
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue