Enhance installation of mysql_client

Initially I wanted to install mysql-client-5.7 to test mysql server 5.7
but this package is not available for Ubuntu 18+.
I keep those changes because it allow us to specify the name of the
package based on the Ubuntu version.
This commit is contained in:
Laurent Indermuehle 2023-01-09 15:39:18 +01:00
commit a473e06e57
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
3 changed files with 17 additions and 2 deletions

View file

@ -3,7 +3,6 @@
- name: "{{ role_name }} | install | Required package for testing"
ansible.builtin.apt:
name:
- mysql-client
- iproute2
- python3-cryptography # To authenticate with MySQL 8+
state: present