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):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
KubernetesAnsibleModule.__init__(self, *args,
|
||||
supports_check_mode=True,
|
||||
**kwargs)
|
||||
|
||||
def execute_module(self):
|
||||
self.client = self.get_api_client()
|
||||
|
||||
|
|
Loading…
Reference in a new issue