On Thu, Jun 26, 2014 at 3:10 PM, 'Petros Moisiadis' via Ansible Project < [email protected]> wrote:
> On 06/26/14 21:06, Michael DeHaan wrote: > > "Ansible can do this kind of loops, but only for a single task. It does > not offer a way to repeat a number of different tasks as a group." > > Agreed, we really aren't trying to create a programming language. > > > When a need to support a common task execution scenario arises and Ansible > cannot handle it, I consider it a limitation. We are not trying to create a > programming language, but we are all using Ansible to script task execution > scenarios. I expect to be able to tell my machines "repeat that group of > tasks until something becomes ready or reaches some limit". This is > speaking to my machines and telling them what to do, it's not programming. > I think Ansible can be improved on that aspect. > I think you're picking at words a bit - it's programming computers to do things. There are going to be cases where something like the script module are going to apply. Having ansible evolve entirely into a general purpose programming language would make a very very bad programming language. I'm ok if that's something we can't do, because it's going to be impossible to do /everything/. Ansible is already more flexible than any other config system out there, because it's more stepwise, versus compiled-model based (even the coded ones use DSLs still compile down). -- 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/CA%2BnsWgxzeKsOvRPMMvbuaV72Cevm0-Nec0VFQedWLjBBU_UXNQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
