From f2fea449215f658c51acf37394e29378ed5275b4 Mon Sep 17 00:00:00 2001 From: rsuplina Date: Wed, 17 Jul 2024 12:25:20 +0100 Subject: [PATCH] Fix import cluster method in cluster Module Signed-off-by: rsuplina --- plugins/modules/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/cluster.py b/plugins/modules/cluster.py index 2f0eeb0a..0f80ede1 100644 --- a/plugins/modules/cluster.py +++ b/plugins/modules/cluster.py @@ -925,7 +925,7 @@ def create_cluster_from_template(self, template_contents: dict): warn_fn=self.module.warn, error_fn=self.module.fail_json ) TEMPLATE.merge(template_contents, explicit_params) - payload.update(body=ApiClusterTemplate(**template_contents)) + payload.update(body=template_contents) # Update to include repositories if self.add_repositories: