redis: s/content/block/ to workaround the blockinfile bug

This commit is contained in:
Jérémy Lecour 2021-02-04 10:53:49 +01:00 committed by Jérémy Lecour
parent 1785e6a500
commit 6c84ada361
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
mode: "0640"
create: yes
marker: "# {mark} ANSIBLE MANAGED RULES FOR INSTANCE {{ redis_instance_name }}"
content: |
block: |
file = {{ redis_log_dir }}/redis-server.log
pattern = "Cannot allocate memory"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}