robertdebock.mssql

Ansible Role MSSQL

THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.

This role helps you install and set up MSSQL on your system.

GitHub GitLab Downloads Version
GitHub Badge GitLab Badge Downloads Badge Version Badge

Example Playbook

Here’s a simple example of how to use this role, which is tested on every change made:

---
- name: Converge
  hosts: all
  become: yes
  gather_facts: yes

  roles:
    - role: robertdebock.mssql

Before running this, your machine needs some setup. In CI, this is done with:

---
- name: Prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.core_dependencies
    - role: robertdebock.ca_certificates
    - role: robertdebock.microsoft_repository_keys

For more details, check out a full explanation and example on how to use these roles.

Role Variables

The default variable settings are in defaults/main.yml:

---
# defaults file for mssql

# Set to yes to install the necessary repositories.
mssql_add_repositories: yes

# Specify the MSSQL version, options are 2017 or 2019.
mssql_version: "2017"  # Only 2017 works at the moment.

# The version of server and server agent to install.
mssql_server_version: "14.0.3294.2-27"
mssql_server_agent_version: "14.0.3015.40-1"

# Password for the system administrator (minimum 8 characters, must include upper/lowercase letters, numbers, and symbols).
mssql_sa_password: "StR0nGp4ss."

# Product key options for MSSQL.
mssql_pid: Evaluation  # Alternatives: Developer, Express, Web, Standard, Enterprise, or a specific product key.

# Enable Full Text Search by setting this to yes.
mssql_fts: no

Requirements

Used Roles

You can use the following roles to prepare your system. Alternatively, you can set up your system differently.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.ca_certificates Build Status GitHub Build Status GitLab
robertdebock.core_dependencies Build Status GitHub Build Status GitLab
robertdebock.microsoft_repository_keys Build Status GitHub Build Status GitLab

Context

This role is part of a collection of compatible roles. Visit the documentation for more information on these roles.

Compatibility

This role has been tested using these container images:

Container Tags
Amazon Candidate
EL 7

The minimum required Ansible version is 2.12. Testing has been done on the latest versions as well as older ones.

If you encounter any issues, please report them on GitHub.

License

This project is licensed under Apache-2.0.

Author Information

Created by robertdebock

If you’d like, please consider sponsoring me.

Informazioni sul progetto

Install and configure mssql on your system.

Installa
ansible-galaxy install robertdebock.mssql
Licenza
apache-2.0
Download
1.7k
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.