Introduce variable for the tools to be installed

pull/17/head
Jasper N. Brouwer 2017-06-28 15:31:48 +02:00
parent 1b11c04f68
commit 4d776a847e
2 changed files with 11 additions and 6 deletions

View File

@ -143,3 +143,13 @@ mysql_use_percona_apt: false
mysql_galera_resetup: false
mysql_galera_members: []
mysql_galera_primary_node: 'change_me' # See: https://github.com/ansible/ansible/issues/17453
# -------------------------------------
# Tools
# -------------------------------------
mysql_tools:
- mytop # Not available on Debian Stretch (included in mariadb-client instead)
- percona-toolkit
- percona-xtrabackup # Not available on Debian Stretch (without using the Percona repository)
- python-mysqldb
- mysqltuner

View File

@ -35,9 +35,4 @@
- name: APT | Install few MySQL related tools
apt: pkg={{ item }} state=present install_recommends=no
with_items:
- mytop
- percona-toolkit
- percona-xtrabackup
- python-mysqldb
- mysqltuner
with_items: "{{ mysql_tools }}"