mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 20:03:04 +00:00
21 lines
613 B
Markdown
21 lines
613 B
Markdown
|
# Troubleshooting
|
||
|
|
||
|
## Bad requests (HTTP 400)
|
||
|
|
||
|
This role downloads checksums from the Github project to verify the integrity of artifacts installed on your servers. When downloading the checksums, a "bad request" error might occur.
|
||
|
|
||
|
This happens in environments which (knowningly or unknowling) use the [netrc mechanism](https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html) to auto-login into servers.
|
||
|
|
||
|
Unless netrc is needed by your playbook and ansible roles, please unset the var like so:
|
||
|
|
||
|
```
|
||
|
$ NETRC= ansible-playbook ...
|
||
|
```
|
||
|
|
||
|
Or:
|
||
|
|
||
|
```
|
||
|
$ export NETRC=
|
||
|
$ ansible-playbook ...
|
||
|
```
|