https://groups.google.com/forum/#!topic/ansible-project/z9iD55-4pPs is a 
similar case.

On Tuesday, August 4, 2015 at 7:59:33 AM UTC-7, Pete Ahearn wrote:
>
> Bump. Is there really no way to do this currently?
>
> On Friday, May 1, 2015 at 3:02:36 PM UTC-4, Vladislav Rastrusny wrote:
>>
>> My use case is the following:
>>
>> I have a list of ntpd servers and I want to run ntpdate against the list. 
>> But since one sucessful sync is enough, I would like to break the cycle 
>> after the first successfully executed sync. How would I do that currently? 
>> As I understand do-until loop will not work in this case, right?
>>
>>
>>
>> четверг, 11 декабря 2014 г., 19:41:11 UTC+3 пользователь Michael DeHaan 
>> написал:
>>>
>>> "Anyway... is there a way of breaking out of a loop or would patches be 
>>> accepted to provide such a mechanism?"
>>>
>>> Still want to understand your use case before we start talking 
>>> implementation and language changes to find the best way to express the 
>>> construct.
>>>
>>> Ultimately Ansible isn't a arbitrary scripting language, and I don't 
>>> want to make it one - but we do want to find the best possible way to 
>>> express what you may want to express.
>>>
>>>
>>>
>>>
>>> On Thu, Dec 11, 2014 at 11:33 AM, Hugh Saunders <[email protected]> 
>>> wrote:
>>>
>>>> On 11 December 2014 at 16:18, Michael DeHaan <[email protected]> 
>>>> wrote:
>>>>
>>>>> if you are downloading tars of git repos from GitHub from lots of 
>>>>> production servers, that seems to be a bit of a bad practice to me that 
>>>>> assaults the mirror.
>>>>>
>>>>> I would consider setting up a mirror of all that content on one server 
>>>>> initially and then have your individual production nodes download off 
>>>>> that 
>>>>> box.
>>>>>
>>>>
>>>> I haven't said that I had multiple servers downloading the same 
>>>> content. 
>>>>
>>>> Anyway... is there a way of breaking out of a loop or would patches be 
>>>> accepted to provide such a mechanism? 
>>>>  
>>>> --
>>>> Hugh Saunders
>>>>
>>>> -- 
>>>> 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/CAAD%2BY3VzJH1cLe6QOBC%3DQ9z_YtZSes15Q0o%2BPj-Zd%2BEKgqKXFA%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/CAAD%2BY3VzJH1cLe6QOBC%3DQ9z_YtZSes15Q0o%2BPj-Zd%2BEKgqKXFA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
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/ae691cba-0f26-4b18-8086-b6083ea0667d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to