diff --git a/.ansible-collection-microsoft-sql.metadata b/.ansible-collection-microsoft-sql.metadata index 713afc1..494ee3b 100644 --- a/.ansible-collection-microsoft-sql.metadata +++ b/.ansible-collection-microsoft-sql.metadata @@ -1,2 +1,2 @@ 99df2e20aff7ec8c244218a45bbcd3d68b791311 SOURCES/auto-maintenance-cdc706f14614ef5e80bbce8db10beb369e889df9.tar.gz -efe869a482b93c0b0289621a82e1718ac55e4ed4 SOURCES/mssql-1.2.3.tar.gz +7a6dfa4cb1a14deacfff752bc7cd452b500771d7 SOURCES/mssql-1.2.4.tar.gz diff --git a/.gitignore b/.gitignore index eaf2e25..5fc4dfb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ SOURCES/auto-maintenance-cdc706f14614ef5e80bbce8db10beb369e889df9.tar.gz -SOURCES/mssql-1.2.3.tar.gz +SOURCES/mssql-1.2.4.tar.gz diff --git a/SPECS/ansible-collection-microsoft-sql.spec b/SPECS/ansible-collection-microsoft-sql.spec index 660334a..bff2010 100644 --- a/SPECS/ansible-collection-microsoft-sql.spec +++ b/SPECS/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