瀏覽代碼

use host_ip not hostname

master
父節點
當前提交
142548cda6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml 查看文件

@@ -11,7 +11,7 @@
name: "{{postfixadmin_mysql_username}}" name: "{{postfixadmin_mysql_username}}"
password: "{{postfixadmin_mysql_password}}" password: "{{postfixadmin_mysql_password}}"
priv: "{{postfixadmin_mysql_database}}.*:ALL,GRANT" priv: "{{postfixadmin_mysql_database}}.*:ALL,GRANT"
host: "{{inventory_hostname}}"
host: "{{host_ip}}"
state: present state: present
delegate_to: "{{postfixadmin_mysql_host}}" delegate_to: "{{postfixadmin_mysql_host}}"




Loading…
取消
儲存