mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 11:53:12 +00:00
c676915376
Add role to manage the Prometheus Pushgateway. Signed-off-by: SuperQ <superq@gmail.com>
20 lines
613 B
Markdown
20 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 ...
|
|
```
|