2023-02-15 19:36:00 +01:00
|
|
|
---
|
|
|
|
- name: Configuration | Copy configuration file
|
|
|
|
ansible.builtin.template:
|
2023-08-14 12:31:32 +02:00
|
|
|
src: mariadb.conf.j2
|
2023-02-15 19:36:00 +01:00
|
|
|
dest: "/etc/mysql/mariadb.conf.d/90-{{ ansible_hostname }}.cnf"
|
2023-05-08 21:13:53 +02:00
|
|
|
mode: "0644"
|
2023-02-15 19:36:00 +01:00
|
|
|
notify: restart mariadb
|
2023-11-04 11:01:07 +01:00
|
|
|
|
|
|
|
- name: "Configuration | Copy systemd override"
|
2024-01-21 01:13:24 +01:00
|
|
|
ansible.builtin.template:
|
|
|
|
src: systemd/override.conf.j2
|
|
|
|
dest: /etc/systemd/systemd/mariadb.service.d/override.conf
|
2023-11-04 11:01:07 +01:00
|
|
|
mode: "0644"
|
|
|
|
notify:
|
|
|
|
- Reload systemd
|
|
|
|
- restart mariadb
|