From ae5cb68a8e721ecb64f104241d050c0dee2902f6 Mon Sep 17 00:00:00 2001 From: maximumG Date: Sat, 13 Jun 2020 12:04:18 +0200 Subject: [PATCH] Rolling reboot for Galera PC compatibility (#40) Co-authored-by: maximumG Co-authored-by: Emilien M --- .travis.yml | 4 ---- README.md | 2 +- meta/main.yml | 2 +- tasks/main.yml | 3 ++- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1714943..acc8ac5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,4 @@ env: - - PLATFORM='docker-buster-default-master' ANSIBLE_VERSION='ansible>=2.8,<2.9' - - PLATFORM='docker-buster-upstream-master' ANSIBLE_VERSION='ansible>=2.8,<2.9' - - PLATFORM='docker-buster-default-galera-1' ANSIBLE_VERSION='ansible>=2.8,<2.9' - - PLATFORM='docker-buster-upstream-galera-1' ANSIBLE_VERSION='ansible>=2.8,<2.9' - PLATFORM='docker-buster-default-master' ANSIBLE_VERSION='ansible>=2.9,<2.10' - PLATFORM='docker-buster-upstream-master' ANSIBLE_VERSION='ansible>=2.9,<2.10' - PLATFORM='docker-buster-default-galera-1' ANSIBLE_VERSION='ansible>=2.9,<2.10' diff --git a/README.md b/README.md index e136c17..aef0bc5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Notes Requirements ------------ -Ansible 2.8+ +Ansible 2.9+ Role Variables -------------- diff --git a/meta/main.yml b/meta/main.yml index 8ea72f6..ea94bcb 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,7 +4,7 @@ galaxy_info: description: Install and configure MariaDB (and Galera Cluster) on Debian company: license: GPLv2 - min_ansible_version: 2.8 + min_ansible_version: 2.9 platforms: - name: Debian versions: diff --git a/tasks/main.yml b/tasks/main.yml index b10fcd9..94f114f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,8 @@ - etc/mysql/mariadb.conf.d/50-server.cnf.j2 register: config -- name: SERVICE | Restart now (prevent bugs) +- name: SERVICE | Restart Mariadb now one at a time (prevent bugs) + throttle: 1 service: name: mysql state: restarted