mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-28 23:51:26 -07:00
We use the Podman/Docker network gateway address to communicate between container. I haven't tested Docker. I would have preferred to use a pod but only Podman support it and ansible-test only support the --docker-network option.
17 lines
533 B
YAML
17 lines
533 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: prepare_controller.yml
|
|
tags:
|
|
- setup_mysql
|
|
|
|
- name: Set variables
|
|
ansible.builtin.import_tasks:
|
|
file: setvars.yml
|
|
tags:
|
|
- setup_mysql
|