Is there any way to define a variable as being the combination of several
lists. For example, define database_clients as being the combination of
all items in groups['app_servers'] and groups['processors']. I'd rather
define it once rather than use with_items in different places to combine
you can define in hosts file
[database_clients:children]
processors
app_servers
or in other ways groups['processors']|union(groups['app_servers'])
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop
That works, thanks.
On Monday, March 10, 2014 11:42:06 AM UTC, Brian Coca wrote:
you can define in hosts file
[database_clients:children]
processors
app_servers
or in other ways groups['processors']|union(groups['app_servers'])
--
You received this message because you are