Currently, this role requires particular group names in the inventory. This needs to be more customized for generic use.
At least the group should be defined as a variable and can default to the now hardcoded names
Ideally, I would prefer a generic role to set a temp IP to "inventory hostname" or similar to get a more generic approach. Just pass current IP or Interface and virtual IP as parameters.