diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ac09f1..e79d72e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/clickhouse_role/tree/develop) +## [3.1.1](https://github.com/idealista/clickhouse_role/tree/3.1.1) (2022-04-29) + + +:hammer_and_wrench: Fixed +#23 Fixed task trying to remove '_temporary_and_external_tables' database @santi-eidu + ## [3.1.0](https://github.com/idealista/clickhouse_role/tree/3.1.0) (2022-02-14) ### :heavy_plus_sign: Added diff --git a/tasks/config/databases.yml b/tasks/config/databases.yml index 325f295..2599042 100644 --- a/tasks/config/databases.yml +++ b/tasks/config/databases.yml @@ -10,7 +10,7 @@ - create - name: CLICKHOUSE | List databases (SQL-driven) - command: "clickhouse-client -u {{ clickhouse_admin_user }} --password {{ clickhouse_admin_password }} -q \"SELECT name FROM system.databases WHERE LOWER(name) NOT IN ('information_schema', 'default', 'system');\"" + command: "clickhouse-client -u {{ clickhouse_admin_user }} --password {{ clickhouse_admin_password }} -q \"SELECT name FROM system.databases WHERE LOWER(name) NOT IN ('_temporary_and_external_tables', 'information_schema', 'default', 'system');\"" changed_when: False register: clickhouse_existing_sql_databases no_log: False