HI, here is code: - name: Wait MainStatus Playbook 5 vars: cosId: "{{realCosId}}" jsonStatus: {"status":'in-progress'} hosts: all tasks: - name: Debug debug: msg: "{{jsonStatus.status}}"
- include_tasks: waittask.yml with_sequence: start=1 end=3 when: jsonStatus.status == 'in-progress' loop_control: pause: 20 - name: Debug 2 debug: msg: "{{jsonStatus.status}}" I expected pause between loop in 20 sec. Instead of the it is executed, and by log looks it is arounf 7 sec: [22639] 2019-02-05 02:30:37,532 - CheckStatusMain - INFO -status:succeeded" - one execution [23029] 2019-02-05 02:30:44,754 - CheckStatusMain - INFO -status:succeeded"- second execution Is it a bug? Thanks, Dmitriy -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.