Fix lint warnings, Translate tasks names, Rename file

This commit is contained in:
phil 2023-02-07 19:36:35 +01:00
parent dc54914bd8
commit 708d9bc59e
2 changed files with 7 additions and 6 deletions

View file

@ -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