mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2026-02-04 07:11:49 +00:00
Revert removal of package required by mysqlclient
This commit is contained in:
parent
9326019296
commit
eee2221533
1 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,12 @@
|
|||
name:
|
||||
- bzip2 # To test mysql_db dump compression
|
||||
- "{{ db_engine }}-client"
|
||||
|
||||
# The command mysql-config must be present for mysqlclient python package.
|
||||
# The package libmysqlclient-dev that provides this command have a
|
||||
# different name between Ubuntu 20.04 and 22.04. Luckily, libmysql++ is
|
||||
# available on both.
|
||||
- "{{ 'libmysql++-dev' if db_engine == 'mysql' else 'libmariadb-dev' }}"
|
||||
update_cache: true
|
||||
state: present
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue