mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-04 13:14:26 -07:00
Use mysql_host var name instead of gateway_addr in tests
This commit is contained in:
parent
3f0f4ffdf5
commit
39de75bebd
24 changed files with 102 additions and 97 deletions
|
@ -4,7 +4,7 @@
|
|||
mysql_parameters: &mysql_params
|
||||
login_user: '{{ mysql_user }}'
|
||||
login_password: '{{ mysql_password }}'
|
||||
login_host: '{{ gateway_addr }}'
|
||||
login_host: '{{ mysql_host }}'
|
||||
login_port: '{{ mysql_primary_port }}'
|
||||
block:
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
|||
mode: getprimary
|
||||
login_user: '{{ user_name_1 }}'
|
||||
login_password: '{{ user_password_1 }}'
|
||||
login_host: '{{ gateway_addr }}'
|
||||
login_host: '{{ mysql_host }}'
|
||||
login_port: '{{ mysql_replica1_port }}'
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
|
@ -68,7 +68,7 @@
|
|||
mode: getprimary
|
||||
login_user: '{{ user_name_1 }}'
|
||||
login_password: '{{ user_password_1 }}'
|
||||
login_host: '{{ gateway_addr }}'
|
||||
login_host: '{{ mysql_host }}'
|
||||
login_port: '{{ mysql_replica1_port }}'
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
|
@ -127,7 +127,7 @@
|
|||
mode: getprimary
|
||||
login_user: '{{ user_name_1 }}'
|
||||
login_password: '{{ user_password_1 }}'
|
||||
login_host: '{{ gateway_addr }}'
|
||||
login_host: '{{ mysql_host }}'
|
||||
login_port: '{{ mysql_replica1_port }}'
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue