from ansible.inventory.manager import InventoryManager from ansible.parsing.dataloader import DataLoader def get_inventory(group, inventory_file_name=\'production_f