thanks to your hint I'm one step closer: - name: group A & B shell: echo {{ item }} >> /tmp/log with_items: groups["A"] + groups["B"]
however I still can't figure out how to make a "set" out of the result. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e66dc70b-6c54-4324-a798-f7d5d7018478%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.