Hi everyone, I'm currently tinkering around the source code of the InventoryManager of Ansible and am currently stuck on how it normally picks up the loader and sources? I'm trying to inherit attributes from the InventoryManager (with super.__init__()), but I need a loader to do so and DataLoader() doesn't seem to give me the right sources / doesn't parse the inventory correctly (or maybe it's something else, but I really don't know what).
class InventoryManager(object): ''' Creates and manages inventory ''' def __init__(self, loader, sources=None, parse=True): # base objects self._loader = loader self._inventory = InventoryData() Appreciate any help :) -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/c49eedaa-ab6f-400d-8c77-5a66c1f28b03n%40googlegroups.com.