
    Vh                         d Z dZdZy)a  
---
module: sp_configure
short_description: Make instance level system configuration changes via C(sp_configure)
description:
  - Read instance level system configuration for a given configuration and update to a new value as provided.
version_added: 0.1.0
options:
  name:
    description:
      - Name of the configuration that will be changed.
    type: str
    required: true
  value:
    description:
      - New value the configuration will be set to.
    type: int
    required: true
author: "Sudhir Koduri (@kodurisudhir)"
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: Enable remote DAC connection
  lowlydba.sqlserver.sp_configure:
    sql_instance: sql-01.myco.io
    name: RemoteDacConnectionsEnabled
    value: 1
z
data:
  description:
    - Output from the C(Set-DbaSpConfigure) function.
    - RestartRequired returned if the setting requires a service restart to take effect.
  returned: success, but not in check_mode.
  type: dict
N)DOCUMENTATIONEXAMPLESRETURN     s/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/lowlydba/sqlserver/plugins/modules/sp_configure.py<module>r      s   6
r   