Hello again
I have a command to execute X times, pausing for a few second after each 
iteration.
One (working) way to do it is:
    - shell: sleep 60; the-command
      with_sequence: count={{X}}

 But its look ugly to me:
- does not use built-in pause command
- make each of the host iterate independently, which may cause sync issue
 
I would like to do something like (not legal)
    - shell: the-command
      action: pause: seconds=60
      with_sequence: count={{X}}
Using include for the two tasks didnt work either as include and with_items 
is deprecated.

What is the right solution in this case?
Thanks
Tzach


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2c237936-cb9c-4e5d-9632-e27080683bdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to