Thanks Matt and Adam! Winning combination turned out to be:
( groups['A']+groups['B'] ) | unique I do like how simple it looks vs ( groups['A']|union (groups['B']))| unique since in my case I have more groups to add and it is very simple with "+" and less error-prone. -- 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/fc93fa6b-72eb-4cab-a4b7-3a7b6153f659%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
