0 | How to create variable group based on ip address-range in ansible inventory groups ? I have two groups of servers in different location. I want to create the two groups based on their IP range (two ranges for two locations) . I already have groups based on distribution, prod, dev, test, qa ,dr in my host inventory. I know I can create a thr grouping using group_by. But How do I call them ? and How to assign a custom variable name to them ? |