At 2015-07-18 22:52:40 -0400, [email protected] wrote:
>
> you can use union filter:
> 
> services: "{{service1|union(service2)|union(service3)}}"

Brian, thanks for the tip.

Is there any way to do the moral equivalent of "list_behaviour=append"?
In other words, to be able to append items to an already-declared list?

I originally wanted this so that roles could declare all the packages
they needed, and they could be installed in one go by a common task.
There are many other (better) reasons, e.g. modifying my PostgreSQL
configuration if I'm also installing the postgres_replication role.

Would anyone else find this useful?

-- Abhijit

P.S. I'm open to suggestions for some way to do this using a local
plugin of some sort. I just want to get it to work somehow.

-- 
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/20150720010559.GA6317%40toroid.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to