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

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