support_definition
chatton 2 years ago
parent e05c8aa5e3
commit cd434323db

@ -222,10 +222,10 @@ def run_module():
# supports check mode # supports check mode
module = AnsibleModule( module = AnsibleModule(
argument_spec=module_args, argument_spec=module_args,
required_if = [ # required_if = [
# docker compose file is only required if we are ensuring the stack is present. # 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=[ mutually_exclusive=[
('docker_compose_file_path', 'definition'), ('docker_compose_file_path', 'definition'),
], ],

Loading…
Cancel
Save