Blame SPECS/ansible-collection-microsoft-sql.spec

289146
# NOTE: Even though ansible-core is in 8.6, it is only available
289146
# at *runtime*, not at *buildtime* - so we can't have
289146
# ansible-core as a build_dep on RHEL8
289146
%if 0%{?fedora} || 0%{?rhel} >= 9
289146
%bcond_without ansible
0e2fba
%if 0%{?fedora}
0e2fba
BuildRequires: ansible-packaging
c67ab7
%else
0e2fba
BuildRequires: ansible-core >= 2.11.0
289146
%endif
0e2fba
%else
0e2fba
%bcond_with ansible
c67ab7
%endif
c67ab7
c67ab7
%bcond_with collection_artifact
c67ab7
0e2fba
# Do not convert .md to .html on RHEL 7 because pandoc is not available
c67ab7
%if 0%{?fedora} || 0%{?rhel} >= 8
c67ab7
%bcond_without html
c67ab7
%else
c67ab7
%bcond_with html
c67ab7
%endif
c67ab7
c67ab7
Name: ansible-collection-microsoft-sql
c67ab7
Url: https://github.com/linux-system-roles/mssql
c67ab7
Summary: The Ansible collection for Microsoft SQL Server management
0e2fba
Version: 1.3.0
0e2fba
Release: 3%{?dist}
c67ab7
c67ab7
License: MIT
c67ab7
0e2fba
%global rolename mssql
c67ab7
%global collection_namespace microsoft
c67ab7
%global collection_name sql
0e2fba
%global collection_rolename server
c67ab7
%global collection_version %{version}
0e2fba
%global legacy_rolename %{collection_namespace}.sql-server
0e2fba
%global _pkglicensedir %{_licensedir}/%{name}
c67ab7
c67ab7
# Helper macros originally from macros.ansible by Igor Raits <ignatenkobrain>
0e2fba
# On RHEL, not available, so we must define those macros locally
0e2fba
# On Fedora, provided by ansible-packager
c67ab7
# Not used (yet). Could be made to point to AH in RHEL - but what about CentOS Stream?
c67ab7
#%%{!?ansible_collection_url:%%define ansible_collection_url() https://galaxy.ansible.com/%%{collection_namespace}/%%{collection_name}}
0e2fba
%if 0%{?rhel}
0e2fba
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{collection_version}
0e2fba
%global ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/
0e2fba
%define ansible_roles_dir %{_datadir}/ansible/roles
0e2fba
%if %{without ansible}
0e2fba
# Untar and copy everything instead of galaxy-installing the built artifact when ansible is not available
0e2fba
%define ansible_collection_build() tar -cf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz .
0e2fba
%define ansible_collection_install() mkdir -p %{buildroot}%{ansible_collection_files}%{collection_name}; (cd %{buildroot}%{ansible_collection_files}%{collection_name}; tar -xf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz)
c67ab7
%else
0e2fba
%define ansible_collection_build() ansible-galaxy collection build
0e2fba
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{version}.tar.gz
c67ab7
%endif
c67ab7
%endif
0e2fba
# be compatible with the usual Fedora Provides:
0e2fba
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{collection_version}-%{release}
c67ab7
289146
# ansible-core is in rhel 8.6 and later - default to ansible-core, but allow
289146
# the use of ansible if present - we may revisit this if the automatic dependency
289146
# generator is added to ansible-core in RHEL
289146
# Fedora - the automatic generator will add this - no need to explicit declare
289146
# it in the spec file
289146
# EL7 - no dependency on ansible because there is no ansible in el7 - user is
289146
# responsible for knowing they have to install ansible
289146
%if 0%{?rhel} >= 8
289146
Requires: (ansible-core >= 2.11.0 or ansible >= 2.9.0)
289146
%endif
289146
0e2fba
%if 0%{?rhel}
289146
Requires: rhel-system-roles
c67ab7
%else
0e2fba
Requires: linux-system-roles
c67ab7
%endif
c67ab7
0e2fba
%global mainid 73800682a3293ef5ab5ed5880329ce792cd34bbf
0e2fba
# Use either hash or tag for source1id
0e2fba
# %%global source1id 50edba099ab2c8b25b225fe760cb5a459b320030
0e2fba
%global source1id %{version}
c67ab7
%global parenturl https://github.com/linux-system-roles
c67ab7
Source: %{parenturl}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
0e2fba
Source1: %{parenturl}/%{rolename}/archive/%{source1id}/%{rolename}-%{source1id}.tar.gz
c67ab7
c67ab7
BuildArch: noarch
c67ab7
c67ab7
%if %{with html}
c67ab7
# Requirements for md2html.sh to build the documentation
c67ab7
%if 0%{?fedora} || 0%{?rhel} >= 9
c67ab7
BuildRequires: rubygem-kramdown-parser-gfm
c67ab7
%else
c67ab7
BuildRequires: pandoc
c67ab7
BuildRequires: asciidoc
c67ab7
BuildRequires: highlight
c67ab7
%endif
c67ab7
%endif
c67ab7
c67ab7
# Requirements for galaxy_transform.py
c67ab7
BuildRequires: python3
0e2fba
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
c67ab7
c67ab7
%description
0e2fba
This RPM installs the %{collection_namespace}.%{collection_name} Ansible
0e2fba
collection that provides the %{collection_rolename} role for Microsoft SQL
0e2fba
Server management. This RPM also installs the %{legacy_rolename} role
0e2fba
in the legacy roles format for users of Ansible < 2.9.
c67ab7
c67ab7
%if %{with collection_artifact}
c67ab7
%package collection-artifact
c67ab7
Summary: Collection artifact to import to Automation Hub / Ansible Galaxy
c67ab7
c67ab7
%description collection-artifact
0e2fba
Collection artifact for %{name}. This package contains
0e2fba
%{collection_namespace}-%{collection_name}-%{version}.tar.gz
c67ab7
%endif
c67ab7
0e2fba
%pretrans -p <lua>
0e2fba
path = "%{ansible_roles_dir}/%{legacy_rolename}"
0e2fba
st = posix.stat(path)
0e2fba
if st and st.type == "link" then
0e2fba
  os.remove(path)
0e2fba
end
0e2fba
c67ab7
%prep
0e2fba
%setup -q -a1 -n auto-maintenance-%{mainid}
c67ab7
0e2fba
mv %{rolename}-%{source1id} %{rolename}
0e2fba
0e2fba
# Remove symlinks in tests/roles
0e2fba
if [ -d %{rolename}/tests/roles ]; then
0e2fba
    find %{rolename}/tests/roles -type l -exec rm {} \;
0e2fba
    if [ -d %{rolename}/tests/roles/linux-system-roles.%{rolename} ]; then
0e2fba
        rm -r %{rolename}/tests/roles/linux-system-roles.%{rolename}
0e2fba
    fi
0e2fba
fi
c67ab7
c67ab7
%build
c67ab7
%if %{with html}
c67ab7
# Convert README.md to README.html in the source roles
0e2fba
sh md2html.sh -t %{rolename}/README.md
c67ab7
%endif
c67ab7
c67ab7
mkdir .collections
c67ab7
# Copy README.md for the collection build
0e2fba
cp %{rolename}/.collection/README.md lsr_role2collection/collection_readme.md
c67ab7
# Copy galaxy.yml for the collection build
0e2fba
cp %{rolename}/.collection/galaxy.yml ./
289146
289146
%if 0%{?rhel}
0e2fba
# Ensure the correct entries in galaxy.yml
0e2fba
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{version}" \
289146
                      "Ansible collection for Microsoft SQL Server management" \
289146
                      "https://github.com/linux-system-roles/mssql" \
289146
                      "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/administration_and_configuration_tasks_using_system_roles_in_rhel/assembly_configuring-microsoft-sql-server-using-microsoft-sql-server-ansible-role_assembly_updating-packages-to-enable-automation-for-the-rhel-system-roles" \
0e2fba
                      "https://github.com/linux-system-roles/mssql/blob/main/README.md" \
289146
                      "https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&component=ansible-collection-microsoft-sql" \
289146
                      > galaxy.yml.tmp
289146
%else
0e2fba
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{version}" \
289146
                      "Ansible collection for Microsoft SQL Server management" \
289146
                      > galaxy.yml.tmp
289146
%endif
c67ab7
mv galaxy.yml.tmp galaxy.yml
c67ab7
289146
%if 0%{?rhel}
0e2fba
# Replace "fedora.linux_system_roles" with "redhat.rhel_system_roles"
0e2fba
# This is for the "roles calling other roles" case
0e2fba
find %{rolename} -type f -exec \
0e2fba
     sed -e "s/fedora[.]linux_system_roles[.]/redhat.rhel_system_roles./g" \
0e2fba
         -i {} \;
289146
%endif
289146
0e2fba
# Convert to the collection format
0e2fba
python3 lsr_role2collection.py --role "%{rolename}" \
0e2fba
    --src-path "%{rolename}" \
0e2fba
    --src-owner linux-system-roles \
0e2fba
    --dest-path .collections \
0e2fba
    --readme lsr_role2collection/collection_readme.md \
0e2fba
    --namespace %{collection_namespace} \
0e2fba
    --collection %{collection_name} \
0e2fba
    --new-role "%{collection_rolename}" \
0e2fba
    --meta-runtime lsr_role2collection/runtime.yml
0e2fba
0e2fba
# Replace remnants of "linux-system-roles.mssql" with collection FQDN
0e2fba
find .collections/ansible_collections/%{collection_namespace}/%{collection_name}/ -type f -exec \
0e2fba
     sed -e "s/linux-system-roles[.]%{rolename}\\>/%{collection_namespace}.%{collection_name}.%{collection_rolename}/g" \
0e2fba
         -i {} \;
c67ab7
c67ab7
# removing dot files/dirs
c67ab7
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.[A-Za-z]*
0e2fba
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/tests/%{collection_rolename}/.[A-Za-z]*
c67ab7
c67ab7
# Copy galaxy.yml to the collection directory
c67ab7
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
c67ab7
0e2fba
# Copy CHANGELOG.md from mssql to collection dir
0e2fba
mv .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{collection_rolename}/CHANGELOG.md \
289146
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
289146
0e2fba
# Build collection
0e2fba
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
0e2fba
%ansible_collection_build
0e2fba
popd
c67ab7
0e2fba
%install
0e2fba
mkdir -p %{buildroot}%{ansible_roles_dir}
c67ab7
0e2fba
# Copy role in legacy format and rename rolename in tests
0e2fba
cp -pR "%{rolename}" "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}"
0e2fba
find %{buildroot}%{ansible_roles_dir}/%{legacy_rolename} -type f -exec \
0e2fba
     sed -e "s/linux-system-roles\.%{rolename}/%{legacy_rolename}/g" \
0e2fba
         -i {} \;
c67ab7
c67ab7
# Copy README, COPYING, and LICENSE files to the corresponding directories
0e2fba
mkdir -p %{buildroot}%{_pkglicensedir}
0e2fba
mkdir -p "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
0e2fba
ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/README.md" \
0e2fba
    "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
c67ab7
%if %{with html}
0e2fba
ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/README.html" \
0e2fba
    "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
c67ab7
%endif
0e2fba
if [ -f "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/COPYING" ]; then
0e2fba
    ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/COPYING" \
0e2fba
        "%{buildroot}%{_pkglicensedir}/%{legacy_rolename}.COPYING"
0e2fba
fi
0e2fba
if [ -f "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/LICENSE" ]; then
0e2fba
    ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/LICENSE" \
0e2fba
        "%{buildroot}%{_pkglicensedir}/%{legacy_rolename}.LICENSE"
0e2fba
fi
c67ab7
c67ab7
# Remove dot files
0e2fba
rm -r %{buildroot}%{ansible_roles_dir}/*/.[A-Za-z]*
0e2fba
rm -r %{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/tests/.[A-Za-z]*
c67ab7
c67ab7
# Remove the molecule directory
0e2fba
rm -r %{buildroot}%{ansible_roles_dir}/*/molecule
c67ab7
0e2fba
# Install collection
c67ab7
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
0e2fba
%ansible_collection_install
c67ab7
popd
c67ab7
0e2fba
mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles
c67ab7
c67ab7
# Copy the collection README files to the collection
0e2fba
ln -sr %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \
0e2fba
   %{buildroot}%{_pkgdocdir}/collection
0e2fba
0e2fba
# Copy role's readme to /usr/share/doc/
0e2fba
if [ -f "%{buildroot}%{ansible_collection_files}%{collection_name}/roles/%{collection_rolename}/README.md" ]; then
0e2fba
    mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}
0e2fba
    ln -sr %{buildroot}%{ansible_collection_files}%{collection_name}/roles/%{collection_rolename}/README.md \
0e2fba
        %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}
0e2fba
fi
c67ab7
c67ab7
%if %{with html}
0e2fba
# Convert README.md to README.html for collection in %%{buildroot}%%{_pkgdocdir}/collection
0e2fba
sh md2html.sh -t %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}/README.md
c67ab7
%endif
c67ab7
c67ab7
%if %{with collection_artifact}
c67ab7
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
c67ab7
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
c67ab7
if [ -f %{collection_namespace}-%{collection_name}-%{version}.tar.gz ]; then
c67ab7
    mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
0e2fba
       %{buildroot}%{_datadir}/ansible/collections/
c67ab7
fi
c67ab7
popd
c67ab7
%endif
c67ab7
0e2fba
# Generate the %%files section in files_section.txt
0e2fba
# Bulk files inclusion is not possible because roles store doc and licence
0e2fba
# files together with other files
c67ab7
format_item_for_files() {
c67ab7
    # $1 is directory or file name in buildroot
0e2fba
    # $2 - if true, and item is a directory, use %%dir
c67ab7
    local item
c67ab7
    local files_item
0e2fba
    item="$1" # full path including buildroot
0e2fba
    files_item=${item##"%{buildroot}"} # path with cut buildroot to be added to %%files
c67ab7
    if [ -L "$item" ]; then
c67ab7
        echo "$files_item"
c67ab7
    elif [ -d "$item" ]; then
c67ab7
        if [[ "$item" == */doc* ]]; then
c67ab7
            echo "%doc $files_item"
c67ab7
        elif [ "${2:-false}" = true ]; then
c67ab7
            echo "%dir $files_item"
c67ab7
        else
c67ab7
            echo "$files_item"
c67ab7
        fi
0e2fba
    elif [[ "$item" == */README.md ]] || [[ "$item" == */README.html ]] || [[ "$item" == */CHANGELOG.md ]]; then
c67ab7
        if [[ "$item" == */private_* ]]; then
0e2fba
            # mark as regular file, not %%doc
c67ab7
            echo "$files_item"
c67ab7
        else
c67ab7
            echo "%doc $files_item"
c67ab7
        fi
0e2fba
    elif [[ "$item" == */COPYING* ]] || [[ "$item" == */LICENSE* ]]; then
0e2fba
        echo "%""%""license" "$files_item"
0e2fba
    else
c67ab7
        echo "$files_item"
c67ab7
    fi
c67ab7
}
c67ab7
c67ab7
files_section=files_section.txt
c67ab7
rm -f $files_section
c67ab7
touch $files_section
0e2fba
# Dynamically generate files section entries for %%{ansible_collection_files}
c67ab7
find %{buildroot}%{ansible_collection_files}%{collection_name} -mindepth 1 -maxdepth 1 | \
c67ab7
    while read item; do
c67ab7
        if [[ "$item" == */roles ]]; then
c67ab7
            format_item_for_files "$item" true >> $files_section
c67ab7
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_dir; do
c67ab7
                format_item_for_files "$roles_dir" true >> $files_section
c67ab7
                find "$roles_dir" -mindepth 1 -maxdepth 1 | while read roles_item; do
c67ab7
                    format_item_for_files "$roles_item" >> $files_section
c67ab7
                done
c67ab7
            done
c67ab7
        else
c67ab7
            format_item_for_files "$item" >> $files_section
c67ab7
        fi
c67ab7
    done
c67ab7
0e2fba
# Dynamically generate files section entries for %%{ansible_roles_dir}
0e2fba
find %{buildroot}%{ansible_roles_dir} -mindepth 1 -maxdepth 1 | \
c67ab7
    while read item; do
c67ab7
        if [ -d "$item" ]; then
c67ab7
            format_item_for_files "$item" true >> $files_section
c67ab7
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_item; do
c67ab7
                format_item_for_files "$roles_item" >> $files_section
c67ab7
            done
c67ab7
        else
c67ab7
            format_item_for_files "$item" >> $files_section
c67ab7
        fi
c67ab7
    done
c67ab7
c67ab7
%files -f files_section.txt
0e2fba
%dir %{_datadir}/ansible
0e2fba
%dir %{ansible_roles_dir}
0e2fba
%dir %{ansible_collection_files}
0e2fba
%dir %{ansible_collection_files}%{collection_name}
0e2fba
%doc %{_pkgdocdir}
0e2fba
%license %{_pkglicensedir}
c67ab7
c67ab7
%if %{with collection_artifact}
c67ab7
%files collection-artifact
c67ab7
%{_datadir}/ansible/collections/%{collection_namespace}-%{collection_name}-%{version}.tar.gz
c67ab7
%endif
c67ab7
c67ab7
%changelog
0e2fba
* Thu Feb 23 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-3
0e2fba
- Spec: add functionality to build from a commit hash
0e2fba
- Use latest 1.3.0 to add flexibility to AD integration functionality
0e2fba
  Resolves: rhbz#2163709
0e2fba
0e2fba
* Fri Feb 17 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-2
0e2fba
- Replace fedora.linux_system_roles/redhat.rhel_system_roles and
0e2fba
  linux-system-roles.mssql with microsoft.sql.server in the role.
0e2fba
  Resolves: rhbz#2151281
0e2fba
- Use latest 1.3.0 to fix ad_Integration issues
0e2fba
  Resolves: rhbz#2163709
0e2fba
0e2fba
* Thu Feb 2 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-1
0e2fba
- Keep spec consistent with linux-system-roles and simplify
0e2fba
  - Return conditionals related to EL to keep up- and downstream consistent
0e2fba
  - Add pretrans scriplet to remove symlinks if exist to fix issue with update
0e2fba
  - Instead of copying doc and license files create symlinks
0e2fba
  - Dynamically generate %%files section
0e2fba
  - Add -t to md2html to generate TOC
0e2fba
  - Do not install roles to /usr/share/microsoft and then create symlinks
0e2fba
    to /usr/share/ansible/roles/, instead install directly to
0e2fba
    /usr/share/ansible/roles/
0e2fba
  - Remove unused removal of ambiguous python shebangs
0e2fba
  - Remove all loops because this RPM contains only one role
0e2fba
  - Remove defsource - simply define the source for mssql
0e2fba
  - 's|$RPM_BUILD_ROOT|%%{buildroot}|' for consistency
0e2fba
  - Remove getarchivedir for simplicity
0e2fba
  - Wrap description by 80 symbols and clarify it
0e2fba
  - Remove tests/.fmf dir from the RPM
0e2fba
  Resolves: rhbz#2151281
0e2fba
- On SQL Server Enterprise Edition, support configuring asynchronous replication
0e2fba
  Resolves: rhbz#2151282
0e2fba
- Support configuring a read-scale SQL server availability group (without pacemaker
0e2fba
  Resolves: rhbz#2151283
0e2fba
- Use the certificate role to create the cert and the key
0e2fba
  Resolves: rhbz#2151284
0e2fba
- Support SQL Server version 2022
0e2fba
  Resolves: rhbz#2153428
0e2fba
- Support integrating with AD Server for authentication
0e2fba
  Resolves: rhbz#2163709
0e2fba
0e2fba
* Thu Sep 1 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.4-1
0e2fba
- Replicate all provided databases
0e2fba
  - This change fixes the bug where only the first database provided with
0e2fba
mssql_ha_db_names got replicated
0e2fba
  - Clarify that the role does not remove not listed databases
0e2fba
  Resolves: rhbz#2066337
0e2fba
- Input multiple sql scripts
0e2fba
  - Allow _input_sql_file vars to accept list of files
0e2fba
  - Flush handlers prior to inputting post sql script
0e2fba
  Resolves: rhbz#2120712
0e2fba
- Note that ha_cluster is not idempotent
0e2fba
- SPEC: Do not update dates in CHANGELOG.md
0e2fba
289146
* Thu Aug 25 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.3-1
289146
- Use firewall role to configure firewall for SQL Server
289146
  Resolves: rhbz#2120709
289146
- Add mssql_ha_virtual_ip
289146
  Replace mssql_ha_db_name with mssql_ha_db_names to let users replicate multiple DBs
289146
  Resolves: rhbz#2066337
289146
289146
- Replace simple `mssql_input_sql_file` with `pre` and `post` variables
289146
  Resolves: rhbz#2120712
289146
- Add Requires: linux-system-roles or rhel-system-roles
289146
- Replace fedora.linux_system_roles:redhat.rhel_system_roles on RHEL
289146
- Add downstream values to galaxy.yml
289146
- Change defcommit to defsource that takes both tags and commits
289146
- Update CHANGELOG.md with the current date and copy it to collection dir
289146
289146
* Mon Jul 4 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-2
289146
- Update mssql commit
289146
  Resolves: rhbz#2066337
289146
- Add condition for upstream spec build for galaxy_transform
289146
- Replace extra-mapping with replacing in the legacy format with sed
289146
289146
* Fri Jun 17 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-1
289146
- Add MVP HA functionality to the server role
289146
  Resolves: rhbz#2066337
289146
- Add mssql_tls_remote_src to the server role
289146
  Resolves: rhbz#2098212
289146
- Add Requires: linux-system-roles or rhel-system-roles
289146
- Add downstream values to galaxy.yml
289146
289146
* Mon Mar 21 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-3
289146
- Fix inserting ansible_managed
289146
  Resolves: rhbz#2057652
289146
- Users now can provide a custom URLs to pull packages and RPM key from
289146
  Resolves: rhbz#2070452
289146
- Add "Requires: ansible-core or ansible"
289146
  Resolves: rhbz#2067496
289146
289146
289146
* Fri Mar 18 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-2
289146
- RHEL8.6, 9 - add "Requires: ansible-core or ansible"
289146
  Resolves: rhbz#2065669 (EL9)
289146
289146
* Thu Mar 17 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-1
289146
- Insert the "Ansible managed" comment to the /var/opt/mssql/mssql.conf file
289146
  Resolves rhbz#2064690 (EL9)
289146
289146
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
289146
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
289146
c67ab7
* Thu Sep 23 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.1.0-2
c67ab7
- Bump release to build with gating.yaml added
c67ab7
289146
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
289146
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
289146
c67ab7
* Wed Jul 21 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.1.0-1
c67ab7
- Add support for Microsoft SQL Server 2017
c67ab7
c67ab7
* Mon Jul 19 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-2
c67ab7
- Copy fix for RHEL 7 builds from rhel-system-roles
c67ab7
  Link to the original fix:
c67ab7
  https://src.fedoraproject.org/rpms/linux-system-roles/c/093981119f99ac51a6e06a2714b587e4e2fe287c
c67ab7
c67ab7
* Tue Jul 13 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-1
c67ab7
- Add the meta-runtime option from the latest auto-maintenance
c67ab7
- Use the latest mssql that ships fixes for issues #24,#25,#26,#27,#28,35
c67ab7
c67ab7
* Tue Jun 29 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-3
c67ab7
- Add a missing slash at the {ansible_collection_files} definition for rhel 7
c67ab7
c67ab7
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-2
c67ab7
- Make the ansible_collection_files macro defined in Fedora automatically and
c67ab7
  in RHEL manually consistent - having slash at the end to clean double-slashes
c67ab7
c67ab7
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-1
c67ab7
- Update the version to be consistent with the Galaxy collection at
c67ab7
  https://galaxy.ansible.com/microsoft/sql
c67ab7
c67ab7
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-5
c67ab7
- Update commit hash for mssql
c67ab7
c67ab7
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-4
c67ab7
- Generate symlinks for roles in /usr/share/ansible/roles
c67ab7
c67ab7
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-3
c67ab7
- Copy changes made to linux-system-roles in this PR:
c67ab7
  https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/13#
c67ab7
- Make spec file available for older versions of OSes.
c67ab7
- Drop python3-six dependency which was used by lsr_role2collection.py.
c67ab7
- Drop html files from rpm if the version has no markdown parser.
c67ab7
- Drop unnecessary python scripts which include python3 only code, e.g.,
c67ab7
  f-strings.
c67ab7
  Resolves rhbz#1970165
c67ab7
c67ab7
* Mon Jun 14 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-2
c67ab7
- Fix long description lines
c67ab7
- Fix incorrect role includes in microsoft/sql-server/tests/
c67ab7
c67ab7
* Thu Jun 3 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-1
c67ab7
- Initial release