Files
ansible-collection-hardening/roles/mysql_hardening/templates/hardening.cnf.j2
T
2021-01-20 11:23:40 +01:00

19 lines
425 B
Django/Jinja

{{ ansible_managed | comment }}
# Generated by Ansible role {{ ansible_role_name }}
[mysqld]
{% if mysql_hardening_skip_show_database -%}
skip-show-database
{% endif %}
{% if mysql_hardening_skip_grant_tables -%}
skip-grant-tables
{% endif %}
{% for (key, value) in mysql_hardening_options.items() %}
{{ key }} = {{ value }}
{% endfor %}
{% if mysql_hardening_chroot %}
chroot = '{{ mysql_hardening_chroot }}'
{% endif %}