From 814d249350915cbd562208c01e8a0f7791c724c5 Mon Sep 17 00:00:00 2001 From: David Lobato Date: Thu, 14 Mar 2024 11:13:20 +0000 Subject: [PATCH] Log pyavd version --- pyavd_cli/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyavd_cli/build.py b/pyavd_cli/build.py index 9f51e63..8aaaa2a 100755 --- a/pyavd_cli/build.py +++ b/pyavd_cli/build.py @@ -16,7 +16,8 @@ from ansible.plugins.loader import init_plugin_loader # type: ignore from ansible.template import Templar # type: ignore from ansible.vars.manager import VariableManager # type: ignore -from pyavd import ( # type: ignore +from pyavd import __version__ as pyavd_version # type: ignore +from pyavd import ( get_avd_facts, get_device_config, get_device_structured_config, @@ -200,6 +201,7 @@ def main(): fabric_group_name = args.fabric_group_name limit = args.limit + logger.debug("pyavd version: %s", pyavd_version) logger.debug("inventory_path: %s", inventory_path) logger.debug("intended_configs_path: %s", intended_configs_path) logger.debug("structured_configs_path: %s", structured_configs_path)