use loop_control -> index_var
This commit is contained in:
@@ -86,9 +86,11 @@
|
|||||||
|
|
||||||
- name: jitsimeet | cron | schedule refresh of statistics
|
- name: jitsimeet | cron | schedule refresh of statistics
|
||||||
cron:
|
cron:
|
||||||
name: "# Get statistics for Jitsi [{{ item.index }}]"
|
name: "Get statistics for Jitsi [{{ my_idx }}]"
|
||||||
user: root
|
user: root
|
||||||
job: "{{ item }}"
|
job: "{{ item }}"
|
||||||
|
loop_control:
|
||||||
|
index_var: my_idx
|
||||||
loop:
|
loop:
|
||||||
- "/root/jitsi-statistics.sh"
|
- "/root/jitsi-statistics.sh"
|
||||||
- "sleep 20; /root/jitsi-statistics.sh"
|
- "sleep 20; /root/jitsi-statistics.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user