From ee03f03aed26f25a81363d5d5632ce693c9420bc Mon Sep 17 00:00:00 2001 From: chatton Date: Sat, 24 Jun 2023 23:40:13 +0100 Subject: [PATCH] wip --- plugins/modules/portainer_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/portainer_stack.py b/plugins/modules/portainer_stack.py index c88ac05..3fdda03 100644 --- a/plugins/modules/portainer_stack.py +++ b/plugins/modules/portainer_stack.py @@ -125,7 +125,7 @@ def _update_stack(contents, client, module, stack_id): ) -def _handle_state_present(contents, result, client, module) +def _handle_state_present(contents, result, client, module): already_exists = False target_stack_name = module.params["stack_name"] for stack in stacks: