Hi, based on your use-case I believe with_dict would be more useful to you than with_flattened, as the later is mainly used to flatten multiple lists into a single list.
James Cammarata Director, Ansible Core Engineering github: jimi-c On Mon, Jun 1, 2015 at 6:27 AM, Шалыгин Константин <[email protected]> wrote: > Hello. I develop role for make conf's OpenVPN server/client side. I need > minimum two OpenVPN tunnels on each router. I don't found the way for > deploy more then one conf's. > > Pushed for test https://github.com/k0ste/ansible-role-openvpn > > Try it, start playbook as is and see, ansible can create many files from > template, *but inside file is identical for all list* > (openvpn_server/openvpn_client); > > Any ideas? > > P.S.: sorry 4 bad English. > > -- > 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/d0470564-5c61-44c9-953b-2cff06447caf%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d0470564-5c61-44c9-953b-2cff06447caf%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/CAMFyvFgwJd4mdTWBCj%2BNJG%2BVOKNzJMX6-AxVuP5WnahJ-20qig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
