Skip to content

Instantly share code, notes, and snippets.

@nidr0x
Created June 11, 2018 07:33
Show Gist options
  • Save nidr0x/0a44c4850643c024ec3503aa084c2490 to your computer and use it in GitHub Desktop.
Save nidr0x/0a44c4850643c024ec3503aa084c2490 to your computer and use it in GitHub Desktop.
Ansible enable TCP SQL Server (Windows)
- name: Enable TCP socket in SQL Server
win_regedit:
path: HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.SQLEXPRESS\MSSQLServer\SuperSocketNetLib\Tcp
name: Enabled
data: 1
type: dword
tags:
- mssql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment