
    Vh                         d Z dZdZy)a  
---
module: dba_multitool
short_description: Install/update the DBA Multitool suite by John McCall
description:
  - A wrapper for C(Install-DbaMultiTool) to fetch the latest version of the scripts, or install from a local cached version.
version_added: 0.7.0
options:
  sql_instance:
    description:
      - The target SQL Server instance or instances. Server version must be SQL Server version 2005 or higher.
    type: str
    required: true
  local_file:
    description:
      - Specifies the path to a local file to install DBA MultiTool from. This should be the zip file as distributed by the maintainers.
      - If this option is not specified, the latest version will be downloaded and installed from https://github.com/LowlyDBA/dba-multitool/.
    type: str
    required: false
  branch:
    description:
      - Specifies an alternate branch of the DBA MultiTool to install.
    type: str
    required: false
    choices: ['master', 'development']
  database:
    description:
      - Name of the target database.
    type: str
    required: true
  force:
    description:
      - If this switch is enabled, the DBA MultiTool will be downloaded from the internet even if previously cached.
    type: bool
    default: false
author: "John McCall (@lowlydba)"
requirements:
  - L(dbatools,https://www.powershellgallery.com/packages/dbatools/) PowerShell module
extends_documentation_fragment:
  - lowlydba.sqlserver.sql_credentials
  - lowlydba.sqlserver.attributes.check_mode
  - lowlydba.sqlserver.attributes.platform_all
z
- name: Install DBA MultiTool
  lowlydba.sqlserver.dba_multitool:
    sql_instance: test-server.my.company.com
    database: dba_tools
z
data:
  description: Modified output from the C(Install-DbaMultitool) function.
  returned: success, but not in check_mode.
  type: dict
N)DOCUMENTATIONEXAMPLESRETURN     t/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/lowlydba/sqlserver/plugins/modules/dba_multitool.py<module>r      s   *X
r   