forked from evolix/ansible-roles
mysql : mytop dependencies for buster
This commit is contained in:
parent
a4236a0708
commit
c147a4674d
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue