Skip to content
Snippets Groups Projects
Verified Commit dc880692 authored by Chris Croome's avatar Chris Croome
Browse files

no_log for ~/.my.cnf files when templated

parent d95f9c6c
No related branches found
Tags 3.4.0
No related merge requests found
Pipeline #31262 passed
......@@ -14,6 +14,7 @@ variables:
ANSIBLE_FORCE_COLOR: "1"
ANSIBLE_REMOTE_TMP: "/tmp"
ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP: "1"
DEFAULT_MANAGED_STR: "Ansible managed"
MOLECULE_VERBOSITY: "0"
PY_COLORS: "1"
USER: "root"
......
......@@ -32,6 +32,7 @@
mode: "{{ mariadb_cnf.mode | default('0644') }}"
owner: "{{ mariadb_cnf.owner | default('root') }}"
group: "{{ mariadb_cnf.group | default('root') }}"
no_log: "{% if mariadb_cnf.path is regex(mariadb_regex.config_path) %}false{% else %}true{% endif %}"
register: mariadb_cnf_file_templated
- name: Notify handler to restart MariaDB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment