diff --git a/plugins/inventory/hcloud.py b/plugins/inventory/hcloud.py index c95b8cd..080327e 100644 --- a/plugins/inventory/hcloud.py +++ b/plugins/inventory/hcloud.py @@ -237,12 +237,12 @@ class InventoryModule(BaseInventoryPlugin, Constructable): def verify_file(self, path): """Return the possibly of a file being consumable by this plugin.""" return ( - super().verify_file(path) and + super(InventoryModule, self).verify_file(path) and path.endswith(("hcloud.yaml", "hcloud.yml")) ) def parse(self, inventory, loader, path, cache=True): - super().parse(inventory, loader, path, cache) + super(InventoryModule, self).parse(inventory, loader, path, cache) self._read_config_data(path) self._configure_hcloud_client() self._test_hcloud_token()