From ad8789ee97f459aab7993423526cb3bbfe02740a Mon Sep 17 00:00:00 2001 From: erikl Date: Mon, 26 Aug 2024 14:18:31 +0200 Subject: [PATCH] Make plugin work with native Jinja2 --- plugins/modules/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/modules/config.py b/plugins/modules/config.py index 1b2ed3f..16c0d8e 100644 --- a/plugins/modules/config.py +++ b/plugins/modules/config.py @@ -53,7 +53,7 @@ type: str required: true value: - type: raw + type: dict description: - values to update delete: @@ -84,7 +84,7 @@ description: - values to replace required: true - type: raw + type: dict datastore: type: str description: @@ -132,7 +132,7 @@ def main(): "required": False, "options": { "path": {"type": "str", "required": True}, - "value": {"type": "raw"}, + "value": {"type": "dict"}, }, }, "delete": { @@ -149,7 +149,7 @@ def main(): "required": False, "options": { "path": {"type": "str", "required": True}, - "value": {"type": "raw", "required": True}, + "value": {"type": "dict", "required": True}, }, }, "save_when": {"choices": ["always", "never", "changed"], "default": "never"},