mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-06-30 20:20:24 -07:00
Add % instead of the default 'localhost' since we use remote connection
Previously, everything was on localhost. Now ansible-test is in a venv and the db is in a container. The db see the IP address from the podman host (10.88.0.2)
This commit is contained in:
parent
8c5806848f
commit
c895a86c2a
3 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
login_host: 127.0.0.1
|
||||
login_port: '{{ mysql_primary_port }}'
|
||||
name: '{{ db_user }}'
|
||||
host: '%'
|
||||
password: '{{ db_user_unsafe_password }}'
|
||||
priv: '*.*:ALL'
|
||||
state: present
|
||||
|
|
|
@ -179,6 +179,7 @@
|
|||
login_host: 127.0.0.1
|
||||
login_port: '{{ mysql_primary_port }}'
|
||||
name: user1
|
||||
host: '%'
|
||||
password: 'Hfd6fds^dfA8Ga'
|
||||
priv: '*.*:ALL'
|
||||
state: present
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
mysql_user:
|
||||
<<: *mysql_params
|
||||
name: '{{ test_user_name }}'
|
||||
host: '%'
|
||||
password: '{{ initial_password }}'
|
||||
priv: '{{ test_default_priv }}'
|
||||
state: present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue