Merge "Make system_crontab_coordination idempotent"

This commit is contained in:
Zuul 2018-10-19 18:27:43 +00:00 committed by Gerrit Code Review
commit e1f1b4fd1d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
{%- if ((hosts | length) | int) > (period | int) -%}
0
{%- else -%}
{{ (((period | int) / ((hosts | length) | int)) | int) | random }}
{{ (((period | int) / ((hosts | length) | int)) | int) | random(seed=inventory_hostname) }}
{%- endif -%}
{%- endmacro %}
{% for host in ansible_play_hosts %}