15 lines
385 B
YAML
15 lines
385 B
YAML
- name: "monit | Mysql-Nutzer anlegen"
|
|
mysql_user:
|
|
name: "{{ monit_sql_user }}"
|
|
host: "localhost"
|
|
password: "{{ monit_sql_password }}"
|
|
state: present
|
|
login_unix_socket: "{{ mysql_socket }}"
|
|
login_user: root
|
|
|
|
- name: "monit | Konfiguration kopieren"
|
|
template:
|
|
src: monit.j2
|
|
dest: /etc/monit/conf-enabled/mariadb
|
|
mode: 0600
|
|
notify: reload monit
|