mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-28 15:41:26 -07:00
[CI] Remove ansible-test custom containers (#650)
* Cut tests containers * Cut unused flatten versions * Fix installation of mysqlclient on Ubuntu * Cut unused variables * Fix package missing on Unbuntu 22.04 * Fix variable templating * Fix test for ansible 2.17 and do remove the ignore_errors ignore_errors is bad because it makes searching for real errors difficult.
This commit is contained in:
parent
aafe658a85
commit
1922e7154e
38 changed files with 55 additions and 743 deletions
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
|
||||
- name: "{{ role_name }} | Requirements | Install Linux packages"
|
||||
ansible.builtin.package:
|
||||
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' }}"
|
||||
state: present
|
||||
|
||||
- name: "{{ role_name }} | Requirements | Install Python packages"
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- "{{ connector_name }}=={{ connector_version }}"
|
||||
state: present
|
Loading…
Add table
Add a link
Reference in a new issue