We have Apache setup chrooted, so we can multiple apache on single directory for multiple httpd instance. I have added all the different groups with the instance name in inventory but their hosts are same.
While I am running tasks on one httpd instance, it takes groups vars of different group even though the hosts are same in all groups.