Files
awx-tst/plugins/inventory/td_assetmgmt.py
2021-05-07 16:45:10 +02:00

11 lines
312 B
Python

from ansible.plugins.inventory import BaseFileInventoryPlugin
class InventoryModule(BaseFileInventoryPlugin):
NAME = 'td_assetmgmt'
def parse(self, inventory, loader, path, cache=True):
super(InventoryModule, self).parse(inventory, loader, path, cache)
self.inventory.add_host('boi')