mysql : mytop dependencies for buster
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Jérémy Lecour 2019-06-26 17:46:36 +02:00 committed by Jérémy Lecour
parent a4236a0708
commit c147a4674d

View file

@ -24,14 +24,23 @@
- mysql
when: ansible_lsb.codename == "jessie"
- name: "Install depends for mytop (Debian 9 or later)"
- name: "Install depends for mytop (stretch)"
apt:
name: "{{ item }}"
with_items:
- mariadb-client-10.1
- libconfig-inifiles-perl
- libterm-readkey-perl
when: ansible_distribution_major_version | version_compare('9', '>=')
when: ansible_lsb.codename == "stretch"
- name: "Install depends for mytop (Debian 10 or later)"
apt:
name: "{{ item }}"
with_items:
- mariadb-client-10.3
- libconfig-inifiles-perl
- libterm-readkey-perl
when: ansible_distribution_major_version | version_compare('10', '>=')
- name: Read debian-sys-maint password
shell: 'cat /etc/mysql/debian.cnf | grep -m1 "password = .*" | cut -d" " -f3'