Skip to content

La-LaS/sqlpatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

SQLPatch Automation for Windows Systems

Ansible Compatibility

A lightweight Ansible-based automation for deploying SQL Server patches across Windows environments, including AlwaysOn Availability Groups.
No custom modules required โ€“ uses native Ansible capabilities.


Features

  • ๐Ÿ› ๏ธ Automated SQL Patching: Deploy updates to standalone SQL servers and AlwaysOn clusters.
  • ๐Ÿ”„ Cluster-Aware: Automatically detects and patches all nodes in an AlwaysOn cluster.
  • โ˜๏ธ Cloud-Ready: Compatible with Ansible Automation Platform (AAP) and AWX.
  • ๐Ÿ”’ Secure: Uses WinRM over HTTPS (port 5986) with NTLM authentication.

Prerequisites

  1. WinRM Configuration
    Ensure WinRM is properly configured on all target Windows systems.
  2. Ansible Setup
    • Ansible 2.10+ (tested with AAP/AWX)
    • ansible.windows collection installed:
      ansible-galaxy collection install ansible.windows

Configuration

Inventory Setup

      ansible_host: 192.168.1.20
      ansible_connection: winrm
      ansible_winrm_transport: ntlm
      ansible_port: '5986'

Assumptions

  1. You have knowledge on Ansible/ AWX
  2. You understand how the SQL patch (CU) works
  3. I am installing the patch using Chocolatey which is residing on an Artifactory repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors