From 71224000464db133da23d7b24ed5e09f36c5311d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20P=C3=A9rez=20Garc=C3=ADa?= Date: Wed, 13 Oct 2021 18:06:18 +0200 Subject: [PATCH 1/2] resolve #6 wait until proxysql is up --- CHANGELOG.md | 1 + tasks/config.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1343edf..b179f8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Added ### Removed ### Fixed +*[#6](https://github.com/idealista/proxysql_role/issues/6) [BUG] Wait until proxysql service is up* @emepege ## [1.0.1](https://github.com/idealista/proxysql_role/tree/1.0.1) ### Fixed *[#3](https://github.com/idealista/proxysql_role/issues/3) [BUG] ProxySQL service should not be start immediately after package installation* @emepege diff --git a/tasks/config.yml b/tasks/config.yml index 8bb3f33..d480b5f 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -47,6 +47,10 @@ state: started enabled: "{{ proxysql_service_enabled }}" daemon_reload: true + register: proxysqlDetails + until: proxysqlDetails.status.ActiveState == "active" + retries: 15 + delay: 10 tags: - proxysql_configure From 8eb078480b754bd94a1bdd8bbf864dbc7839fdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20P=C3=A9rez=20Garc=C3=ADa?= Date: Thu, 14 Oct 2021 10:36:22 +0200 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b179f8b..2775fa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Added ### Removed ### Fixed +## [1.0.2](https://github.com/idealista/proxysql_role/tree/1.0.2) +### Fixed *[#6](https://github.com/idealista/proxysql_role/issues/6) [BUG] Wait until proxysql service is up* @emepege ## [1.0.1](https://github.com/idealista/proxysql_role/tree/1.0.1) ### Fixed