Oh nice. This isn't related to your commit - I'm starting to worry a bit about continual buildup of inline code cruft in Runner - so we may hold off on this a little bit until we can refactor things a bit to find a good place for things like this. This is a hard thing to stress on submissions, but over time, things build up.
In general, making some smaller functions and having the runner code call them would be a good idea. On Fri, Jul 18, 2014 at 2:49 AM, Serge van Ginderachter < [email protected]> wrote: > I have an outstanding PR for that: > > https://github.com/ansible/ansible/pull/8019 > > > On 17 July 2014 19:16, E.C. Raymond <[email protected]> wrote: > >> What is the status on complex data storage for set_fact? It seems like >> its not quite possible yet when I have tried multiple methods. >> >> - name: testing >> set_fact: vms="['{ {{ item.item }}: {{ item.stdout.strip('\n') }} }']" >> with_items: >> - "{{ hostips }}" >> >> >> I found these links that got me close enough, but I am guessing that this >> is not yet supported. >> >> https://groups.google.com/forum/#!topic/ansible-project/cPbCD6R9TnE >> >> http://stackoverflow.com/questions/23507589/is-it-possible-to-set-a-fact-of-an-array-in-ansible >> >> Thanks. >> >> -- >> 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/4a9f3744-44b1-44b4-82e5-d3cc65fd5ed0%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/4a9f3744-44b1-44b4-82e5-d3cc65fd5ed0%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 [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/CAEhzMJCKqnE-Hc71oc_nHs2%3D5byeehLhzs7LePNB16REZymK7g%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAEhzMJCKqnE-Hc71oc_nHs2%3D5byeehLhzs7LePNB16REZymK7g%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/CA%2BnsWgyeQHHHUTjC6SJJ%2Buctsg_Pba2WygUymQo30k10xNUvGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
