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.
1 parent abf13d5 commit 8a24b77Copy full SHA for 8a24b77
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