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
I am running ansible-lint behind a corporate firewall and even when I just want to know the version, I need to wait until it times-out while trying to connect to github.com. The "--offline" switch does not have an effect on that:
strace ansible-lint --version --offline
...
connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("140.82.121.6")}, 16
...
The IP resolves to: lb-140-82-121-6-fra.github.com
Is there a way to prevent this? I think --version should never try to connect to github, it should just give the version and nothing more.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am running ansible-lint behind a corporate firewall and even when I just want to know the version, I need to wait until it times-out while trying to connect to github.com. The "--offline" switch does not have an effect on that:
strace ansible-lint --version --offline
...
connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("140.82.121.6")}, 16
...
The IP resolves to: lb-140-82-121-6-fra.github.com
Is there a way to prevent this? I think --version should never try to connect to github, it should just give the version and nothing more.
Beta Was this translation helpful? Give feedback.
All reactions