diff --git a/nornir_nautobot/plugins/tasks/dispatcher/default.py b/nornir_nautobot/plugins/tasks/dispatcher/default.py index e6b32d3..0d85f12 100644 --- a/nornir_nautobot/plugins/tasks/dispatcher/default.py +++ b/nornir_nautobot/plugins/tasks/dispatcher/default.py @@ -415,6 +415,10 @@ def merge_config( f"result: {push_result[0].result}, changed: {push_result.changed}", extra={"object": obj}, ) + + if push_result.diff: + logger.info(f"Diff:\n```\n_{push_result.diff}\n```", extra={"object": obj}) + logger.info("Config merge ended", extra={"object": obj}) return Result( host=task.host, diff --git a/pyproject.toml b/pyproject.toml index 38ccdb6..ecc7e9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,8 +106,8 @@ notes = """, """ [build-system] -requires = ["poetry>=0.12"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" [tool.pytest.ini_options] testpaths = "tests/"