mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-05-11 03:31:30 -07:00
Fix server_id in GHA
GHA lack a way to pass option to docker's command. Also server_id is not read as a environment variable. So I'm forced to use a config file.
This commit is contained in:
parent
9e3010dd00
commit
2af8e4f273
4 changed files with 18 additions and 8 deletions
4
tests/integration/targets/setup_mysql/replica1/mysql.cnf
Normal file
4
tests/integration/targets/setup_mysql/replica1/mysql.cnf
Normal file
|
@ -0,0 +1,4 @@
|
|||
[mysqld]
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
server_id = 2
|
4
tests/integration/targets/setup_mysql/replica2/mysql.cnf
Normal file
4
tests/integration/targets/setup_mysql/replica2/mysql.cnf
Normal file
|
@ -0,0 +1,4 @@
|
|||
[mysqld]
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
server_id = 3
|
Loading…
Add table
Add a link
Reference in a new issue