Run monit check only against localhost

This commit is contained in:
phil 2023-02-15 23:01:10 +01:00
parent 73bf0925bc
commit 6ebb563bf6
3 changed files with 2 additions and 5 deletions

View file

@ -2,7 +2,7 @@
- name: "Monit | Create sql user"
community.mysql.mysql_user:
name: "{{ monit_sql_user }}"
host: "{{ mariadb.bind_address | default('localhost') }}"
host: localhost
password: "{{ monit_sql_password }}"
state: present
login_unix_socket: "{{ mysql_socket }}"