mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
k8s_facts trivially supports check_mode (#42335)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user