It would be better and much more ansible-playbook-happy to enhance the
digital ocean module to support exact_count like ec2 and Rackspace have,
rather than having the playbook get a little gross like this.

Both implement them a little differently, and I'm not entirely sure what it
might take, but probably not too difficult.






On Thu, May 29, 2014 at 12:47 PM, Adam Morris <zwack...@gmail.com> wrote:

>
>
> On Thursday, May 29, 2014 9:29:42 AM UTC-7, Adam Morris wrote:
>>
>> with_sequence: count=5  I'm not sure how that would work with with_items,
>> but it's worth a try.. (with_nested used with sequences?)
>>
>> http://docs.ansible.com/playbooks_loops.html#looping-
>> over-integer-sequences
>>
>
> With_sequence could be used to loop over each step X times... But can't be
> combined with with_items as far as I can tell.
>
> Adam
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/86baebe5-0050-488a-84d4-270776c75ef0%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/86baebe5-0050-488a-84d4-270776c75ef0%40googlegroups.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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgx_FaAzGY3VWJe%3DsQMbkJt6HJZyzD9B4ZW%3DA4ECjnBPTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to