From 3900a7debcaffce96783461f23681fbb2ee737e1 Mon Sep 17 00:00:00 2001 From: Ronald Suplina <111508615+rsuplina@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:44:28 +0100 Subject: [PATCH] Fix import cluster method in cluster module (#244) 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: