diff --git a/templates/automysqlbackup.j2 b/templates/automysqlbackup.j2 index 0992fed..3db185b 100644 --- a/templates/automysqlbackup.j2 +++ b/templates/automysqlbackup.j2 @@ -1,5 +1,9 @@ # {{ ansible_managed }} {% for key, value in automysqlbackup_config.items() %} +{% if value is number %} {{ key | upper }}={{ value }} +{% else %} +{{ key | upper }}="{{ value }}" +{% endif %} {% endfor %}