Browse Source

use host_ip for mysql access

master
parent
commit
c802ee859a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/postfixadmin.yml

+ 1
- 1
tasks/postfixadmin.yml View File

@@ -28,6 +28,6 @@
name: "{{postfix_postfixadmin_mysql_username}}"
password: "{{postfix_postfixadmin_mysql_password}}"
priv: "{{postfix_postfixadmin_mysql_database}}.*:SELECT"
host: "{{inventory_hostname}}"
host: "{{host_ip}}"
state: present
delegate_to: "{{postfix_postfixadmin_mysql_host}}"

Loading…
Cancel
Save