You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check for inventory files first, so that they are never mistaken for python modules or
hostnames and avoid unnecessary warnings. Also, support IPv6-only hosts.
Fixespyinfra-dev#1069.
Check for inventory files first, so that they are never mistaken for python modules or
hostnames and avoid unnecessary warnings. Also, support IPv6-only hosts.
Fixespyinfra-dev#1069.
Check for inventory files first, so that they are never mistaken for python modules or
hostnames and avoid unnecessary warnings. Also, support IPv6-only hosts.
Fixes#1069.
Describe the bug
pyinfra3 throws a warning on "Loading inventory" when using "inventory.py":
"inventory.py is neither a valid Python import or hostname."
... but it gets loaded anyway.
using ./inventory.py instead of inventory.py removes the error
To Reproduce
try with pyinfra v2.9 vs 3.0.b0
Expected behavior
A consistent behaviour, (so one option) or both examples possible.
Meta
The text was updated successfully, but these errors were encountered: