如何将"--bind-address=ip_address"与 ansible mysql_user 模块一起使用



我的应用程序节点中有多个接口,如何告诉ansible mysql_user模块在用户指定的(eth0/eth1…OR ip address?(接口上绑定连接?

应该是:

- name: Create user
community.mysql.mysql_user:
name: "your-user"
host: "ip-goes-here"
state: present

最新更新