Thanks, that worked well. I am writing this information to a file using lineinfile. How would I strip off the brackets, quotes and commas? ['DIMM1', 'G55555-111', '999000123']
On Wednesday, February 27, 2019 at 7:46:54 AM UTC-8, Kai Stian Olstad wrote: > > On 27.02.2019 00:09, Ryan wrote: > > > > > > How would I go about printing the values from three lists, so that each > > line contains elements from each list? For instance, I can print the > > values from the lists using: > > Check out with_together > > https://docs.ansible.com/ansible/2.4/playbooks_loops.html#looping-over-parallel-sets-of-data > > > -- > Kai Stian Olstad > -- 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/556d492b-84b5-42e2-9de2-c1fc94981195%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
