community.mysql/tests/integration/targets/setup_controller/tasks/client.yml
Laurent Indermuehle a473e06e57
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.
2023-01-09 15:39:18 +01:00

11 lines
275 B
YAML

---
# Is some tests, we use the local mysql client with the shell module.
- name: "{{ role_name }} | client | Install mysql client"
ansible.builtin.apt:
name:
- "{{ db_engine ~ '-client' }}"
state: present
environment:
DEBIAN_FRONTEND: noninteractive