WIP: preparation for Buster #60

Manually merged
jlecour merged 25 commits from buster into stable 2020-05-13 11:25:49 +02:00
Showing only changes of commit c147a4674d - Show all commits

View file

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