mariadb: Beschränke monit-Nutzer auf localhost. Damit sich Monit mit der Datenbank auch verbinden kann.
This commit is contained in:
parent
c13c5d63bc
commit
8998e69a04
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
- name: "monit | Mysql-Nutzer anlegen"
|
- name: "monit | Mysql-Nutzer anlegen"
|
||||||
mysql_user:
|
mysql_user:
|
||||||
name: "{{ monit_sql_user }}"
|
name: "{{ monit_sql_user }}"
|
||||||
host: "{{ ansible_default_ipv4.address }}"
|
host: "localhost"
|
||||||
password: "{{ monit_sql_password }}"
|
password: "{{ monit_sql_password }}"
|
||||||
state: present
|
state: present
|
||||||
login_unix_socket: "{{ mysql_socket }}"
|
login_unix_socket: "{{ mysql_socket }}"
|
||||||
|
|
Loading…
Reference in a new issue