From 1b972caa83001c9733e813af5eca667387a79491 Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Wed, 26 Jun 2019 18:12:39 +0200 Subject: [PATCH] Add install package percona-toolkit by default --- mysql/tasks/utils.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mysql/tasks/utils.yml b/mysql/tasks/utils.yml index 390acc0e..6f9fa53b 100644 --- a/mysql/tasks/utils.yml +++ b/mysql/tasks/utils.yml @@ -75,6 +75,18 @@ tags: - mysql +# Percona Toolkit + +- name: "Install percona-toolkit (Debian 9 or later)" + apt: + name: percona-toolkit + state: present + tags: + - packages + - percona-toolkit + - mysql + when: ansible_distribution_major_version | version_compare('9', '>=') + # automatic optimizations - include_role: