我的应用程序节点中有多个接口,如何告诉ansible mysql_user模块在用户指定的(eth0/eth1…OR ip address?(接口上绑定连接?
应该是:
- name: Create user
community.mysql.mysql_user:
name: "your-user"
host: "ip-goes-here"
state: present