title: Dynamic groups based on ip range in Ansible groups
body: <p>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 groups every time the playbook so that the playbook is run on a updated list of servers. I already groups based on distribution, prod, dev, test, qa ,dr in my host inventory. </p>
  
  <p>Thanks in Advance</p>