Hi The question is a bit abstract - can you provide some more tangible code/playbooks/data?
On Mon, 15 Jun 2020 at 17:00, Nicholas Britton <[email protected]> wrote: > > I am trying to find away that i can create an array that i can reference > later that would be built through a series of include_task plays. Through > the plays i will specific pieces of data that i care to keep for use later. > > My layout is as: > > main.yml > -- inlcude_tasks.yml with loop > -- include_task statements (3) > > > So i have a main playbook, that has a include_tasks play that is calling > another task list that is then calling three more include_tasks. I am > doing it this way to as i loop through each item at the main.yml play i am > able to work with a single dataset through each uri call to keep passing key > data. > > When i am done with the last include_task i would like to add 6 vars that i > care about to a single array so i can reference them later. > > Something like : group, type, asset, location, etc. > > This would be something i would loop through to do more stuff later. > > Thoughts?? > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/1a580898-9548-4410-bf6e-6e132ca9effeo%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwN3kzvGzjbK%2B5BEMzeKYYQ%3Di3e8m8oEgvKDBMroZbZEuA%40mail.gmail.com.
