Applying a delay to with_items steps

21 views
Skip to first unread message

Guido Accardo

unread,
Dec 16, 2014, 2:15:20 PM12/16/14
to ansible...@googlegroups.com
Hi,
 
   I've been using Ansible for 5 months now and I must say I love it. My life is much more easier now! Well, I have a question for you, there is chance to apply a delay to the following task without using "do-until"?:

  - name: stop running processes
    uri: url="http://{{ api_ip }}/target/stop/{{ item }}"
         method=POST
    with_items: processes.running
    connection: local

 Looking in the doc of Loops I could found the "delay" argument that do-until has. Is there something I'm missing here?

Thank you, regards, Guido.-
Reply all
Reply to author
Forward
0 new messages