lowlydba.sqlserver.instance_info module – Returns basic information for a SQL Server instance
Note
This module is part of the lowlydba.sqlserver collection (version 2.2.2).
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.instance_info
.
New in lowlydba.sqlserver 0.2.0
Synopsis
Returns basic information for a SQL Server instance.
Requirements
The below requirements are needed on the host that executes this module.
dbatools PowerShell module
Parameters
Parameter |
Comments |
---|---|
The SQL Server instance to modify. |
|
Password for SQL Authentication. |
|
Username for SQL Authentication. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
This module is “read only” and operates the same regardless of check mode. |
|
Platforms: all |
Target OS/families that can be operated against. |
Examples
- name: Get basic info for an instance
lowlydba.sqlserver.instance_info:
sql_instance: sql-01.myco.io
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Instance level properties of the SQL Server instance. Returned: always |