On Thu, 29 Aug 2019 19:47:10 +0200
Vladimir Botka <[email protected]> wrote:

>       - set_fact:
>           my_patch_list: "{{ my_patch_list|default([]) + [item] }}"
>         loop: "{{ lookup('file','patchlist.txt').splitlines() }}"

Actually this is the same. It doesn't make sense do decompose/compose a list.

        - set_fact:
            my_patch_list: "{{ lookup('file','patchlist.txt').splitlines() }}"

-- 
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/20190829195537.29c57749%40gmail.com.

Attachment: pgpvJqVqDvKWh.pgp
Description: OpenPGP digital signature

Reply via email to