ansible is not a programming language, variables are really pretty
static, they can be overwritten but not really modified.

If you want to create a new list that has the contents of 2 other
lists, look at the set theory filters:

with_items: packages|union(extra_packages)

that should give you what you want.

-- 
Brian Coca

-- 
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/CAJ5XC8nnLrr2_Wd09weKy%3DrAM3-qHv0DmNXM0YhQp_imWO1ZZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to