We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ad9af0 + 8a24b77 commit 16cfbb8Copy full SHA for 16cfbb8
src/pytest_ansible_network_integration/__init__.py
@@ -339,6 +339,8 @@ def environment() -> Dict[str, Any]:
339
env = os.environ.copy()
340
if "VIRTUAL_ENV" in os.environ:
341
env["PATH"] = os.path.join(os.environ["VIRTUAL_ENV"], "bin") + os.pathsep + env["PATH"]
342
+ # Disable warnings about localhost, since these are tests
343
+ env["ANSIBLE_LOCALHOST_WARNING"] = "False"
344
return env
345
346
0 commit comments