use loop_control -> index_var

This commit is contained in:
rene committed 2022-02-21 18:48:30 +01:00
1 parent 9467ebab10
commit 9b98bf6222
1 file changed
+3 -1
+3 -1
View File
@@ -86,9 +86,11 @@
- name: jitsimeet | cron | schedule refresh of statistics
cron:
name: "# Get statistics for Jitsi [{{ item.index }}]"
name: "Get statistics for Jitsi [{{ my_idx }}]"
user: root
job: "{{ item }}"
loop_control:
index_var: my_idx
loop:
- "/root/jitsi-statistics.sh"
- "sleep 20; /root/jitsi-statistics.sh"