diff --git a/.gitignore b/.gitignore index 0a5031e..cc3e332 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mssql-27201be4f2e557a6dcde36463354a1de0cbadb08.tar.gz /mssql-4eb3dd55defd801a5032efa597983cbbec4bbeea.tar.gz /mssql-1.2.3.tar.gz +/mssql-1.2.4.tar.gz diff --git a/ansible-collection-microsoft-sql.spec b/ansible-collection-microsoft-sql.spec index 660334a..bff2010 100644 --- a/ansible-collection-microsoft-sql.spec +++ b/ansible-collection-microsoft-sql.spec @@ -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 - 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#2066338 +- Input multiple sql scripts + - Allow _input_sql_file vars to accept list of files + - Flush handlers prior to inputting post sql script + Resolves: rhbz#2120713 +- Note that ha_cluster is not idempotent +- SPEC: Do not update dates in CHANGELOG.md + * Thu Aug 25 2022 Sergei Petrosian - 1.2.3-1 - Use firewall role to configure firewall for SQL Server Resolves: rhbz#2120714 diff --git a/sources b/sources index 1da422b..94bd9d1 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (auto-maintenance-cdc706f14614ef5e80bbce8db10beb369e889df9.tar.gz) = b1e57a6b59dd9317f2273a89759fcb92c59b818711b036c459043cf01570c86cebfeb2d5643e7c629da4c35167091454b18c91b39f3663b8464dda4758dc4ac1 -SHA512 (mssql-1.2.3.tar.gz) = 18b716f4b379ceea5241957ce86d37f867da23a1159e3bddbe0d7c6dae93211a544c6e4d2a61dbf6c3093361162d4619e266f67c015e7892cfb4b7b815d466d8 +SHA512 (mssql-1.2.4.tar.gz) = 3087c8d6fe79e6bfc7308d25439de91c68bc05bfb24e926b4e69361246d4a388321347dc31e32a5a22e377ddac6fc0feffd3791b5ccc61b7c6a6a4b869f6014e