lowlydba.sqlserver.dba_multitool module – Install/update the DBA Multitool suite by John McCall
Note
This module is part of the lowlydba.sqlserver collection (version 1.2.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install lowlydba.sqlserver
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: lowlydba.sqlserver.dba_multitool
.
New in lowlydba.sqlserver 0.7.0
Synopsis
A wrapper for
Install-DbaMultiTool
to fetch the latest version of the scripts, or install from a local cached version.
Requirements
The below requirements are needed on the host that executes this module.
dbatools PowerShell module
Parameters
Parameter |
Comments |
---|---|
Specifies an alternate branch of the DBA MultiTool to install. Choices:
|
|
Name of the target database. |
|
If this switch is enabled, the DBA MultiTool will be downloaded from the internet even if previously cached. Choices:
|
|
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/. |
|
The target SQL Server instance or instances. Server version must be SQL Server version 2005 or higher. |
|
Password for SQL Authentication. |
|
Username for SQL Authentication. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in check_mode and return changed status prediction without modifying target. |
|
Platforms: all |
Target OS/families that can be operated against. |
Examples
- name: Install DBA MultiTool
lowlydba.sqlserver.dba_multitool:
sql_instance: test-server.my.company.com
database: dba_tools
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Modified output from the Returned: success, but not in check_mode. |