Hi all! Is it possible to append variables from one group to another? Here is an example below for better clarity:
Group Variables
An array that lists users from a “core” group that will be applied to all servers:
- CORE group
- User1
- User2
There would be another group for “customer” that would have:
- CUSTOMER Group
- User3
- User4
Conditionals
If the server DOES belong to the customer group, it should include the following users:
-
User1
-
User2
-
User3
-
User4
If the server does NOT belong to the “customer” group, it would just be the following users: -
User1
-
User2
Suggestions
Any thoughts? Tybstar on IRC recommended “set operation filters” that could work but even mentioned that it could get messy – especially if I start adding additional groups (Customer2, Customer3, etc.). I figured I would bounce a post off of here incase there are any additional thoughts or suggestions.
Thanks!