mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-01 20:50:26 -07:00
Install mysql_client the correct way
This commit is contained in:
parent
0cd57adbd2
commit
676509e88d
2 changed files with 4 additions and 1 deletions
1
.github/workflows/ansible-test-plugins.yml
vendored
1
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -143,7 +143,6 @@ jobs:
|
||||||
pre-test-cmd: >-
|
pre-test-cmd: >-
|
||||||
>&2 echo Setting Connector version to ${{ matrix.connector }}...;
|
>&2 echo Setting Connector version to ${{ matrix.connector }}...;
|
||||||
sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}
|
sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}
|
||||||
apt update && apt install --assume-yes mysql-client
|
|
||||||
target-python-version: ${{ matrix.python }}
|
target-python-version: ${{ matrix.python }}
|
||||||
testing-type: integration
|
testing-type: integration
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- name: "{{ role_name }} | install | mysql_client"
|
||||||
|
package:
|
||||||
|
name: mysql_client
|
||||||
|
|
||||||
- name: "{{ role_name }} | install | install python packages"
|
- name: "{{ role_name }} | install | install python packages"
|
||||||
pip:
|
pip:
|
||||||
name: "{{ python_packages }}"
|
name: "{{ python_packages }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue