|
@@ -4,6 +4,7 @@ |
|
|
mysql_db: |
|
|
mysql_db: |
|
|
name: "{{postfixadmin_mysql_database}}" |
|
|
name: "{{postfixadmin_mysql_database}}" |
|
|
state: present |
|
|
state: present |
|
|
|
|
|
delegate_to: "{{postfixadmin_mysql_host}}" |
|
|
|
|
|
|
|
|
- name: mysql user |
|
|
- name: mysql user |
|
|
mysql_user: |
|
|
mysql_user: |
|
@@ -11,6 +12,7 @@ |
|
|
password: "{{postfixadmin_mysql_password}}" |
|
|
password: "{{postfixadmin_mysql_password}}" |
|
|
priv: "{{postfixadmin_mysql_database}}.*:ALL,GRANT" |
|
|
priv: "{{postfixadmin_mysql_database}}.*:ALL,GRANT" |
|
|
state: present |
|
|
state: present |
|
|
|
|
|
delegate_to: "{{postfixadmin_mysql_host}}" |
|
|
|
|
|
|
|
|
- name: disable dbconfig |
|
|
- name: disable dbconfig |
|
|
debconf: |
|
|
debconf: |
|
|