Browse Source

use host_ip not hostname

master
parent
commit
142548cda6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml View File

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



Loading…
Cancel
Save