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

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