mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-27 15:11:28 -07:00
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.
22 lines
724 B
YAML
22 lines
724 B
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
- name: Prepare the controller python and MySQL connector
|
|
ansible.builtin.import_tasks:
|
|
file: install.yml
|
|
|
|
# setvars.yml requires the iproute2 package installed by install.yml
|
|
- name: Set variables
|
|
ansible.builtin.import_tasks:
|
|
file: setvars.yml
|
|
|
|
- name: Install MySQL local client
|
|
ansible.builtin.import_tasks:
|
|
file: client.yml
|
|
|
|
- name: Install MySQL Python connector
|
|
ansible.builtin.import_tasks:
|
|
file: connector.yml
|