From cd434323dbeb0d5cd4094b73814bd0ea71e1c2e4 Mon Sep 17 00:00:00 2001 From: chatton Date: Fri, 7 Jul 2023 15:06:39 +0100 Subject: [PATCH] wip --- plugins/modules/portainer_stack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/portainer_stack.py b/plugins/modules/portainer_stack.py index 631d2b5..63d98fb 100644 --- a/plugins/modules/portainer_stack.py +++ b/plugins/modules/portainer_stack.py @@ -222,10 +222,10 @@ def run_module(): # supports check mode module = AnsibleModule( argument_spec=module_args, - required_if = [ + # required_if = [ # docker compose file is only required if we are ensuring the stack is present. - ["state", "present", ("docker_compose_file_path",)], - ], + # ["state", "present", ("docker_compose_file_path",)], + # ], mutually_exclusive=[ ('docker_compose_file_path', 'definition'), ],