Update to version 1.2.4

- Replicate all provided databases
  - This change fixes the bug where only the first database replicates
  - Clarify that the role does not remove not listed databases
  Resolves: rhbz#2066337
- Input multiple sql scripts
  - Allow _input_sql_file vars to accept list of files
  - Flush handlers prior to inputting post sql script
  Resolves: rhbz#2120712
- Note that ha_cluster is not idempotent
- SPEC: Do not update dates in CHANGELOG.md
This commit is contained in:
Sergei Petrosian 2022-09-01 12:36:01 +02:00
parent a6fd249a33
commit f613933dbd
3 changed files with 18 additions and 8 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/mssql-4eb3dd55defd801a5032efa597983cbbec4bbeea.tar.gz
/mssql-1.2.1.tar.gz
/mssql-1.2.3.tar.gz
/mssql-1.2.4.tar.gz

View File

@ -25,7 +25,7 @@
Name: ansible-collection-microsoft-sql
Url: https://github.com/linux-system-roles/mssql
Summary: The Ansible collection for Microsoft SQL Server management
Version: 1.2.3
Version: 1.2.4
Release: 1%{?dist}
#Group: Development/Libraries
@ -110,7 +110,7 @@ BuildRequires: %{ansible_build_dep}
%%global collection_rolenames %%{?collection_rolenames} [%{rolename%{1}}]="%{collection_rolename%{1}}"
}
%defsource 1 1.2.3
%defsource 1 1.2.4
%global rolename1 mssql
%global target_rolename1 sql-server
%global collection_rolename1 server
@ -247,10 +247,7 @@ rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name
# Copy galaxy.yml to the collection directory
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
# Update CHANGELOG.md with the current date and copy it to collection dir
curr_date=$(date +'%Y-%m-%d')
sed -i "s/^\([%{version}] - \).*/\1$curr_date/g" \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{collection_rolename1}/CHANGELOG.md
# Copy CHANGELOG.md from mssql to collection dir
mv .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{collection_rolename1}/CHANGELOG.md \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/
@ -443,6 +440,19 @@ fi
%endif
%changelog
* Thu Sep 1 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.4-1
- Replicate all provided databases
- This change fixes the bug where only the first database provided with
mssql_ha_db_names got replicated
- Clarify that the role does not remove not listed databases
Resolves: rhbz#2066337
- Input multiple sql scripts
- Allow _input_sql_file vars to accept list of files
- Flush handlers prior to inputting post sql script
Resolves: rhbz#2120712
- Note that ha_cluster is not idempotent
- SPEC: Do not update dates in CHANGELOG.md
* Thu Aug 25 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.3-1
- Use firewall role to configure firewall for SQL Server
Resolves: rhbz#2120709

View File

@ -1,3 +1,2 @@
SHA512 (auto-maintenance-cdc706f14614ef5e80bbce8db10beb369e889df9.tar.gz) = b1e57a6b59dd9317f2273a89759fcb92c59b818711b036c459043cf01570c86cebfeb2d5643e7c629da4c35167091454b18c91b39f3663b8464dda4758dc4ac1
SHA512 (mssql-1.2.1.tar.gz) = 35f9f5c1bd69955eb9d0ab949ad91098a36e52ec2d4757540b32fe847f6c33f88443de7e22230e4024ec488847f21fe9047d30696c7cad72a9a3154e8421c998
SHA512 (mssql-1.2.3.tar.gz) = 18b716f4b379ceea5241957ce86d37f867da23a1159e3bddbe0d7c6dae93211a544c6e4d2a61dbf6c3093361162d4619e266f67c015e7892cfb4b7b815d466d8
SHA512 (mssql-1.2.4.tar.gz) = 3087c8d6fe79e6bfc7308d25439de91c68bc05bfb24e926b4e69361246d4a388321347dc31e32a5a22e377ddac6fc0feffd3791b5ccc61b7c6a6a4b869f6014e