Fix the ini_file task.

This commit is contained in:
Andrea Dell'Amico 2025-02-06 19:40:18 +01:00
parent 2ece6ac6fc
commit 90b6c81845
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 10 additions and 7 deletions

View File

@ -92,11 +92,14 @@
tags: ['mysql', 'mariadb', 'mysql_conf']
block:
- name: mysql-conf | Configure MariaDB server options
ansible.builtin.ini_file:
- section: "{{ item.section }}"
community.general.ini_file:
section: "{{ item.section }}"
option: "{{ item.option }}"
value: "{{ item.value }}"
state: "{{ item.state }}"
dest: "{{ mariadb_server_conf_file }}"
backup: false
owner: root
group: root
mode: "0644"
loop: "{{ mariadb_server_conf_params }}"