Fix lint warnings, Translate tasks names, Rename file
This commit is contained in:
parent
dc54914bd8
commit
708d9bc59e
2 changed files with 7 additions and 6 deletions
|
@ -1,15 +1,16 @@
|
|||
- name: "monit | Mysql-Nutzer anlegen"
|
||||
mysql_user:
|
||||
---
|
||||
- name: "Monit | Create sql user"
|
||||
community.mysql.mysql_user:
|
||||
name: "{{ monit_sql_user }}"
|
||||
host: "{{ mariadb.bind_address|default('localhost') }}"
|
||||
host: "{{ mariadb.bind_address | default('localhost') }}"
|
||||
password: "{{ monit_sql_password }}"
|
||||
state: present
|
||||
login_unix_socket: "{{ mysql_socket }}"
|
||||
login_user: root
|
||||
|
||||
- name: "monit | Konfiguration kopieren"
|
||||
template:
|
||||
src: monit.j2
|
||||
- name: "Monit | Copy Monit configuration"
|
||||
ansible.builtin.template:
|
||||
src: monit.conf
|
||||
dest: /etc/monit/conf-enabled/mariadb
|
||||
mode: 0600
|
||||
notify: reload monit
|
||||
|
|
Loading…
Reference in a new issue