enclose parameters in quotes

... to allow statements like */10 or *
This commit is contained in:
Karsten Kosmala 2018-03-06 16:15:19 +01:00 committed by GitHub
parent 01a5a11e07
commit e78279a293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -13,19 +13,19 @@ cron.{{ task }}:
- user: {{ task_options.user|default('root') }} - user: {{ task_options.user|default('root') }}
{% endif %} {% endif %}
{% if 'minute' in task_options %} {% if 'minute' in task_options %}
- minute: {{ task_options.minute }} - minute: '{{ task_options.minute }}'
{% endif %} {% endif %}
{% if 'hour' in task_options %} {% if 'hour' in task_options %}
- hour: {{ task_options.hour }} - hour: '{{ task_options.hour }}'
{% endif %} {% endif %}
{% if 'daymonth' in task_options %} {% if 'daymonth' in task_options %}
- daymonth: {{ task_options.daymonth }} - daymonth: '{{ task_options.daymonth }}'
{% endif %} {% endif %}
{% if 'month' in task_options %} {% if 'month' in task_options %}
- month: {{ task_options.month }} - month: '{{ task_options.month }}'
{% endif %} {% endif %}
{% if 'dayweek' in task_options %} {% if 'dayweek' in task_options %}
- dayweek: {{ task_options.dayweek }} - dayweek: '{{ task_options.dayweek }}'
{% endif %} {% endif %}
{% if 'commented' in task_options and task_options.commented %} {% if 'commented' in task_options and task_options.commented %}
- commented: True - commented: True