Hi I am looking for a way to transform a list of strings into a list of dicts, where the string is a certain key's value - without using a loop. So from this:
my_list: - foo - bar - baz to: other_list: - somekey: foo - somekey: bar - somekey: baz It looks too simple but I can't see how to do this..... -- 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/CAF8BbLbtQHJu8zzJLOdv27uC%2BtU_DNnxOOmMbRCGqdgNRaGSLA%40mail.gmail.com.
